소스 검색

Disable Style Sheets

Disable support for style sheets.. These have been causing inconsistencies and have been breaking the layout. Only use system styles and a dark palette option for now.
Felix Turowsky 1 년 전
부모
커밋
3db6f2503c
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      src/classes/style.h

+ 4 - 3
src/classes/style.h

@@ -75,9 +75,10 @@ public:
     static inline void loadStylesComboBox(QComboBox *combo_box){
         const QSignalBlocker blocker(combo_box);
         combo_box->addItems(Style::styles);
-        for (const auto &style_sheet : Style::styleSheets) {
-            combo_box->addItem(style_sheet.styleSheetName);
-        }
+        // TODO enable style sheets.. disabled for now because they are yanky, inconsistant and randomly break the layout
+        // for (const auto &style_sheet : Style::styleSheets) {
+        //     combo_box->addItem(style_sheet.styleSheetName);
+        // }
         combo_box->addItem(QStringLiteral("Dark-Palette"));
         combo_box->model()->sort(0);
     }