Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
glacier-home
Commits
32b7b3bd
Commit
32b7b3bd
authored
Sep 17, 2017
by
eekkelund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Notification] Try to fix icon in notification preview.
parent
945900fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
NotificationPreview.qml
src/qml/notifications/NotificationPreview.qml
+12
-10
No files found.
src/qml/notifications/NotificationPreview.qml
View file @
32b7b3bd
...
...
@@ -132,6 +132,7 @@ Item {
width
:
notificationArea
.
notificationIconSize
height
:
width
source
:
{
if
(
notificationPreviewPresenter
.
notification
)
{
if
(
notificationPreviewPresenter
.
notification
.
icon
)
{
if
(
notificationPreviewPresenter
.
notification
.
icon
.
indexOf
(
"
/
"
)
==
0
)
return
"
file://
"
+
notificationPreviewPresenter
.
notification
.
icon
...
...
@@ -143,6 +144,7 @@ Item {
else
return
"
image://theme/
"
+
notificationPreviewPresenter
.
notification
.
appIcon
}
else
return
defaultIcon
}
else
return
defaultIcon
}
onStatusChanged
:
{
if
(
icon
.
status
==
Image
.
Error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment