summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/EnvironmentDialog.ui
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2021-01-15 16:25:52 (GMT)
committerMatthew Woehlke <matthew.woehlke@kitware.com>2021-01-15 16:43:29 (GMT)
commit15e8072859e18e8a8016f263fb25daa650295672 (patch)
tree944d7aa99a8abebb46846b4676876f5f0b4d7d3b /Source/QtDialog/EnvironmentDialog.ui
parent8aebd159fc2941b600b08535cf5ced805c185e87 (diff)
downloadCMake-15e8072859e18e8a8016f263fb25daa650295672.zip
CMake-15e8072859e18e8a8016f263fb25daa650295672.tar.gz
CMake-15e8072859e18e8a8016f263fb25daa650295672.tar.bz2
CMake GUI: Use system icons when available
Modify GUI to use system (theme) icons when available. This may only affect builds on Linux platforms when using the system-provided Qt, but will improve visual consistency with e.g. okay/cancel buttons which are also using the system/theme icons. This also means that the GUI will look slightly more "native" on Linux.
Diffstat (limited to 'Source/QtDialog/EnvironmentDialog.ui')
-rw-r--r--Source/QtDialog/EnvironmentDialog.ui4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/QtDialog/EnvironmentDialog.ui b/Source/QtDialog/EnvironmentDialog.ui
index c0b5e9d..ed23c2c 100644
--- a/Source/QtDialog/EnvironmentDialog.ui
+++ b/Source/QtDialog/EnvironmentDialog.ui
@@ -51,7 +51,7 @@
<string>&amp;Add Entry</string>
</property>
<property name="icon">
- <iconset resource="CMakeSetup.qrc">
+ <iconset theme="list-add" resource="CMakeSetup.qrc">
<normaloff>:/Icons/Plus16.png</normaloff>:/Icons/Plus16.png</iconset>
</property>
</widget>
@@ -62,7 +62,7 @@
<string>&amp;Remove Entry</string>
</property>
<property name="icon">
- <iconset resource="CMakeSetup.qrc">
+ <iconset theme="list-remove" resource="CMakeSetup.qrc">
<normaloff>:/Icons/Delete16.png</normaloff>:/Icons/Delete16.png</iconset>
</property>
</widget>