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-home.png</file>
<file>images/go-next.png</file> <file>images/go-next.png</file>
<file>images/go-previous.png</file> <file>images/go-previous.png</file>
<file>images/applications-development.png</file>
</qresource> </qresource>
</RCC> </RCC>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -66,7 +66,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>640</width> <width>640</width>
<height>25</height> <height>21</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="mMenuFile"> <widget class="QMenu" name="mMenuFile">
@ -287,7 +287,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="gui.qrc"> <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>
<property name="text"> <property name="text">
<string>Style warnings</string> <string>Style warnings</string>

View File

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