diff options
author | Brad King <brad.king@kitware.com> | 2020-12-16 11:17:56 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-12-16 11:18:01 (GMT) |
commit | d8654c2a0290b30c8684a334652d8876e5ab33f6 (patch) | |
tree | 96b52e9275126dfee9cd3b18d6642bd4dd32732f /Source/QtDialog | |
parent | d124a4b4d4fb76ef84e4bc73b57256c9896dfc6c (diff) | |
parent | 47649baf60fb59a0799322d30ade7eaace5f6014 (diff) | |
download | CMake-d8654c2a0290b30c8684a334652d8876e5ab33f6.zip CMake-d8654c2a0290b30c8684a334652d8876e5ab33f6.tar.gz CMake-d8654c2a0290b30c8684a334652d8876e5ab33f6.tar.bz2 |
Merge topic 'cmake-gui-system-icon'
47649baf60 cmake-gui: Use icon from system theme if available
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5616
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeSetup.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx index c1555a2..861c6e3 100644 --- a/Source/QtDialog/CMakeSetup.cxx +++ b/Source/QtDialog/CMakeSetup.cxx @@ -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(); |