feat: add --safe-mode command line option (#4985)

This ensures the settings button isn't hidden, and disables plugins from being loaded to make sure the user can always recover from messing things up
This commit is contained in:
Mm2PL
2023-12-05 18:37:42 +01:00
committed by GitHub
parent 44abe6b487
commit c3d3903b6f
7 changed files with 58 additions and 9 deletions
+1
View File
@@ -26,6 +26,7 @@ public:
bool dontLoadMainWindow{};
std::optional<WindowLayout> customChannelLayout;
bool verbose{};
bool safeMode{};
private:
void applyCustomChannelLayout(const QString &argValue);