Rename icon.png to cppcheck-gui.png

This commit is contained in:
Chocobo1 2016-09-27 16:10:09 +08:00
parent bdc59a51dc
commit 4e11c0004d
7 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ if (BUILD_GUI)
# icons # icons
install(FILES icon.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps) install(FILES icon.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)
install(FILES icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/64x64/apps) install(FILES cppcheck-gui.png DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/64x64/apps)
set(CMAKE_AUTOMOC OFF) set(CMAKE_AUTOMOC OFF)

View File

@ -24,7 +24,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="gui.qrc">:/icon.png</pixmap> <pixmap resource="gui.qrc">:/cppcheck-gui.png</pixmap>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -4,5 +4,5 @@ Type=Application
Name=Cppcheck Name=Cppcheck
Comment=A tool for static C/C++ code analysis Comment=A tool for static C/C++ code analysis
Exec=cppcheck-gui Exec=cppcheck-gui
Icon=icon Icon=cppcheck-gui
Categories=Development;Debugger;Qt; Categories=Development;Debugger;Qt;

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -1,6 +1,6 @@
<!DOCTYPE RCC><RCC version="1.0"> <!DOCTYPE RCC><RCC version="1.0">
<qresource> <qresource>
<file>icon.png</file> <file>cppcheck-gui.png</file>
<file>images/dialog-error.png</file> <file>images/dialog-error.png</file>
<file>images/dialog-information.png</file> <file>images/dialog-information.png</file>
<file>images/dialog-warning.png</file> <file>images/dialog-warning.png</file>

View File

@ -70,7 +70,7 @@ int main(int argc, char *argv[])
if (!CheckArgs(app.arguments())) if (!CheckArgs(app.arguments()))
return 0; return 0;
app.setWindowIcon(QIcon(":icon.png")); app.setWindowIcon(QIcon(":cppcheck-gui.png"));
// Register this metatype that is used to transfer error info // Register this metatype that is used to transfer error info
qRegisterMetaType<ErrorItem>("ErrorItem"); qRegisterMetaType<ErrorItem>("ErrorItem");

View File

@ -260,7 +260,7 @@
<action name="mActionCheckDirectory"> <action name="mActionCheckDirectory">
<property name="icon"> <property name="icon">
<iconset resource="gui.qrc"> <iconset resource="gui.qrc">
<normaloff>:/icon.png</normaloff>:/icon.png</iconset> <normaloff>:/cppcheck-gui.png</normaloff>:/cppcheck-gui.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Directory...</string> <string>&amp;Directory...</string>