summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorJeremy Rimpo <jrim@rimpo.org>2019-07-07 18:16:03 -0500
committerGitHub <noreply@github.com>2019-07-07 18:16:03 -0500
commite4bacba282d273754d1791000d24db52275ac7e2 (patch)
tree94b74e5832e73583d10f2d258f9e4f04a8fce5e3 /src/mainwindow.h
parente8d14d1ea527608bdaae4fe8f83c949082067b16 (diff)
parentf7c844fcf7684cbde0a3290b1950c52f88236be3 (diff)
Merge pull request #791 from isanae/shortcut-refactor
New Shortcut class to manage desktop/start menu shortcuts
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 00f15a2b..eee269cf 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -403,18 +403,14 @@ private:
MOBase::DelayedFileWriter m_ArchiveListWriter;
+ QAction* m_LinkToolbar;
+ QAction* m_LinkDesktop;
+ QAction* m_LinkStartMenu;
+
// icon set by the stylesheet, used to remember its original appearance
// when painting the count
QIcon m_originalNotificationIcon;
- enum class ShortcutType {
- Toolbar,
- Desktop,
- StartMenu
- };
-
- void addWindowsLink(ShortcutType const);
-
Executable const &getSelectedExecutable() const;
Executable &getSelectedExecutable();