summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-06-11 23:54:18 +0200
committerGitHub <noreply@github.com>2019-06-11 23:54:18 +0200
commit54f3188a06c7dbc4ac844aba9b50dc4684d6b9c3 (patch)
treea03e45df9b1c2a6a533778328c258440bfcb3b26 /src/mainwindow.h
parenta9ad1265665a81eeb0161c389f557e298cbb1818 (diff)
parent89aa616a61d41d65698d9abcd914e5e9acfc3131 (diff)
Merge pull request #759 from isanae/unstyled-icons-fix
Fixing the icons on the toolbar and menus
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 426b0881..b8d9f49f 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -398,6 +398,10 @@ private:
MOBase::DelayedFileWriter m_ArchiveListWriter;
+ // icon set by the stylesheet, used to remember its original appearance
+ // when painting the count
+ QIcon m_originalNotificationIcon;
+
enum class ShortcutType {
Toolbar,
Desktop,
@@ -631,6 +635,7 @@ private slots:
void search_activated();
void searchClear_activated();
+ void resetActionIcons();
void updateModCount();
void updatePluginCount();