GUI: Change Style-warnings icon.

I want to use the current Style-warning icon for Information
messages. So change the Style-warning icon first to new
icon.
This commit is contained in:
Kimmo Varis 2010-12-26 14:01:15 +02:00
parent 31c974c954
commit 84180e4fcd
4 changed files with 4 additions and 3 deletions

View File

@ -23,5 +23,6 @@
<file>images/go-home.png</file>
<file>images/go-next.png</file>
<file>images/go-previous.png</file>
<file>images/applications-development.png</file>
</qresource>
</RCC>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -66,7 +66,7 @@
<x>0</x>
<y>0</y>
<width>640</width>
<height>25</height>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="mMenuFile">
@ -287,7 +287,7 @@
</property>
<property name="icon">
<iconset resource="gui.qrc">
<normaloff>:/images/showstylewarnings.png</normaloff>:/images/showstylewarnings.png</iconset>
<normaloff>:/images/applications-development.png</normaloff>:/images/applications-development.png</iconset>
</property>
<property name="text">
<string>Style warnings</string>

View File

@ -736,7 +736,7 @@ QString ResultsTree::SeverityToIcon(const QString &severity) const
if (severity == "error")
return ":images/dialog-error.png";
if (severity == "style")
return ":images/dialog-information.png";
return ":images/applications-development.png";
if (severity == "warning")
return ":images/dialog-warning.png";
if (severity == "performance")