diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2009-12-11 05:35:33 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2009-12-11 05:35:33 (GMT) |
commit | 691d8784a7d41142fc67690eed1963e9424db723 (patch) | |
tree | 6b1a6120003fdd87c19ab1261e88e1161ecd4429 /Source/QtDialog/CMakeSetup.cxx | |
parent | be12a1ae8f9b9f5933158f6bcdbb9f2246fa653e (diff) | |
download | CMake-691d8784a7d41142fc67690eed1963e9424db723.zip CMake-691d8784a7d41142fc67690eed1963e9424db723.tar.gz CMake-691d8784a7d41142fc67690eed1963e9424db723.tar.bz2 |
BUG: Fix bug #9894. Make higher resolution CMake icon available as an application icon. On Mac, the higher resolution one is used in the dock.
Diffstat (limited to 'Source/QtDialog/CMakeSetup.cxx')
-rw-r--r-- | Source/QtDialog/CMakeSetup.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx index f19a36d..e613a78 100644 --- a/Source/QtDialog/CMakeSetup.cxx +++ b/Source/QtDialog/CMakeSetup.cxx @@ -134,7 +134,10 @@ int main(int argc, char** argv) // app setup app.setApplicationName("CMakeSetup"); app.setOrganizationName("Kitware"); - app.setWindowIcon(QIcon(":/Icons/CMakeSetup.png")); + QIcon appIcon; + appIcon.addFile(":/Icons/CMakeSetup32.png"); + appIcon.addFile(":/Icons/CMakeSetup128.png"); + app.setWindowIcon(appIcon); CMakeSetupDialog dialog; dialog.show(); |