Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
28c3941c
Commit
28c3941c
authored
Apr 06, 2010
by
Christiaan Janssen
Browse files
QmlDesigner.Navigator: Added default icon for other qml types
parent
bac6ff3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/itemlibrary/images/item-default-icon.png
View replaced file @
bac6ff3b
View file @
28c3941c
341 Bytes
|
W:
|
H:
590 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
src/plugins/qmldesigner/components/navigator/navigatortreeview.cpp
View file @
28c3941c
...
...
@@ -178,7 +178,7 @@ void IdItemDelegate::paint(QPainter *painter,
}
// if the library was also empty, use the default icon
if
(
icon
.
isNull
())
icon
=
QIcon
(
":/ItemLibrary/images/default-icon.png"
);
if
(
icon
.
isNull
())
icon
=
QIcon
(
":/ItemLibrary/images/
item-
default-icon.png"
);
}
// If no icon is present, leave an empty space of 24 pixels anyway
...
...
Write
Preview
Supports
Markdown
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