mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 20:29:56 -06:00
cmake-gui: Use icon from system theme if available
This commit is contained in:
committed by
Brad King
parent
82b25be80a
commit
47649baf60
@@ -146,7 +146,7 @@ int main(int argc, char** argv)
|
||||
QIcon appIcon;
|
||||
appIcon.addFile(":/Icons/CMakeSetup32.png");
|
||||
appIcon.addFile(":/Icons/CMakeSetup128.png");
|
||||
QApplication::setWindowIcon(appIcon);
|
||||
QApplication::setWindowIcon(QIcon::fromTheme("cmake-gui", appIcon));
|
||||
|
||||
CMakeSetupDialog dialog;
|
||||
dialog.show();
|
||||
|
||||
Reference in New Issue
Block a user