Browse Source

UI/themes: Disable QDialog button icons on all non-system themes

tytan652 3 years ago
parent
commit
cdd3399286
4 changed files with 21 additions and 1 deletions
  1. 5 0
      UI/data/themes/Acri.qss
  2. 6 1
      UI/data/themes/Dark.qss
  3. 5 0
      UI/data/themes/Rachni.qss
  4. 5 0
      UI/data/themes/Yami.qss

+ 5 - 0
UI/data/themes/Acri.qss

@@ -1329,3 +1329,8 @@ QCalendarWidget QAbstractItemView:enabled {
 QCalendarWidget QAbstractItemView:disabled {
     color: rgb(122,121,122);
 }
+
+/* Disable icons on QDialogButtonBox */
+QDialogButtonBox {
+    dialogbuttonbox-buttons-have-icons: 0;
+}

+ 6 - 1
UI/data/themes/Dark.qss

@@ -1041,4 +1041,9 @@ QCalendarWidget QAbstractItemView:enabled {
 
 QCalendarWidget QAbstractItemView:disabled {
     color: rgb(122,121,122);
-}
+}
+
+/* Disable icons on QDialogButtonBox */
+QDialogButtonBox {
+    dialogbuttonbox-buttons-have-icons: 0;
+}

+ 5 - 0
UI/data/themes/Rachni.qss

@@ -1658,3 +1658,8 @@ QCalendarWidget QAbstractItemView:enabled {
 QCalendarWidget QAbstractItemView:disabled {
     color: rgb(122,121,122);
 }
+
+/* Disable icons on QDialogButtonBox */
+QDialogButtonBox {
+    dialogbuttonbox-buttons-have-icons: 0;
+}

+ 5 - 0
UI/data/themes/Yami.qss

@@ -1474,3 +1474,8 @@ QCalendarWidget QAbstractItemView:disabled {
     margin-top: 0;
     margin-bottom: 0;
 }
+
+/* Disable icons on QDialogButtonBox */
+QDialogButtonBox {
+    dialogbuttonbox-buttons-have-icons: 0;
+}