mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-28 04:09:35 +03: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