Rename icon.png to cppcheck-gui.png
This commit is contained in:
parent
bdc59a51dc
commit
4e11c0004d
|
@ -35,7 +35,7 @@ if (BUILD_GUI)
|
|||
|
||||
# icons
|
||||
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)
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="gui.qrc">:/icon.png</pixmap>
|
||||
<pixmap resource="gui.qrc">:/cppcheck-gui.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -4,5 +4,5 @@ Type=Application
|
|||
Name=Cppcheck
|
||||
Comment=A tool for static C/C++ code analysis
|
||||
Exec=cppcheck-gui
|
||||
Icon=icon
|
||||
Icon=cppcheck-gui
|
||||
Categories=Development;Debugger;Qt;
|
||||
|
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>icon.png</file>
|
||||
<file>cppcheck-gui.png</file>
|
||||
<file>images/dialog-error.png</file>
|
||||
<file>images/dialog-information.png</file>
|
||||
<file>images/dialog-warning.png</file>
|
||||
|
|
|
@ -70,7 +70,7 @@ int main(int argc, char *argv[])
|
|||
if (!CheckArgs(app.arguments()))
|
||||
return 0;
|
||||
|
||||
app.setWindowIcon(QIcon(":icon.png"));
|
||||
app.setWindowIcon(QIcon(":cppcheck-gui.png"));
|
||||
|
||||
// Register this metatype that is used to transfer error info
|
||||
qRegisterMetaType<ErrorItem>("ErrorItem");
|
||||
|
|
|
@ -260,7 +260,7 @@
|
|||
<action name="mActionCheckDirectory">
|
||||
<property name="icon">
|
||||
<iconset resource="gui.qrc">
|
||||
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
||||
<normaloff>:/cppcheck-gui.png</normaloff>:/cppcheck-gui.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Directory...</string>
|
||||
|
|
Loading…
Reference in New Issue