From 3db6f2503c0e89c25c6000d2b5a55e6f29c36f25 Mon Sep 17 00:00:00 2001 From: Felix Turowsky Date: Sat, 10 Feb 2024 19:03:28 +0100 Subject: [PATCH] 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. --- src/classes/style.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/classes/style.h b/src/classes/style.h index 3248e91..c20b207 100644 --- a/src/classes/style.h +++ b/src/classes/style.h @@ -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); }