diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-06 18:50:28 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-06 18:50:28 -0400 |
| commit | 9166bd9c5bf02484bd7486374e508ca304111f5a (patch) | |
| tree | 5103f120c7c2635004a523bf3001a1edfee09263 /src/mainwindow.h | |
| parent | dfd34bf9c0ad055e76c1b6f272c21eb0d79536ce (diff) | |
added new Shortcut class, moved stuff that was in MainWindow into it
added more error handling and logging, some was missing
removed some redundancy of setting the menu icons for add/remove, they're all set when clicking the button anyway
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 12 |
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(); |
