Skip to content

Commit

Permalink
Disable Style Sheets
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fiffty-50 committed Feb 10, 2024
1 parent 8850c34 commit 3db6f25
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/classes/style.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ class Style
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);
}
Expand Down

0 comments on commit 3db6f25

Please sign in to comment.