diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-01-18 02:45:04 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-01-18 02:48:29 +0100 |
commit | ceb5fc6d755cdcb263edc27386db38de9499048f (patch) | |
tree | fb1180717d1b10991e806acfd05c86a5080c1ec5 /application/themes/ITheme.h | |
parent | 201d4ac317cba2a7034cd08945b488bd46eb8ed3 (diff) | |
download | MultiMC-ceb5fc6d755cdcb263edc27386db38de9499048f.tar MultiMC-ceb5fc6d755cdcb263edc27386db38de9499048f.tar.gz MultiMC-ceb5fc6d755cdcb263edc27386db38de9499048f.tar.lz MultiMC-ceb5fc6d755cdcb263edc27386db38de9499048f.tar.xz MultiMC-ceb5fc6d755cdcb263edc27386db38de9499048f.zip |
GH-1790 do not apply system theme on launch if it is selected
This prevents some ugly colors to show up on macOS in most cases.
It still looks ugly right after you switch to the it though.
Diffstat (limited to 'application/themes/ITheme.h')
-rw-r--r-- | application/themes/ITheme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/themes/ITheme.h b/application/themes/ITheme.h index 0360c445..b75001c2 100644 --- a/application/themes/ITheme.h +++ b/application/themes/ITheme.h @@ -8,6 +8,7 @@ class ITheme { public: virtual ~ITheme() {} + virtual void apply(bool initial); virtual QString id() = 0; virtual QString name() = 0; virtual bool hasStyleSheet() = 0; |