summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetup.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2009-12-11 05:35:33 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2009-12-11 05:35:33 (GMT)
commit691d8784a7d41142fc67690eed1963e9424db723 (patch)
tree6b1a6120003fdd87c19ab1261e88e1161ecd4429 /Source/QtDialog/CMakeSetup.cxx
parentbe12a1ae8f9b9f5933158f6bcdbb9f2246fa653e (diff)
downloadCMake-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.cxx5
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();