Forráskód Böngészése

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

tytan652 3 éve
szülő
commit
cdd3399286

+ 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;
+}