mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-23 07:03:54 -07:00
replace trayicon activation with menu actions (#4632)
This commit is contained in:
parent
176c52daf2
commit
244cb847fb
2 changed files with 23 additions and 19 deletions
|
|
@ -84,7 +84,7 @@ private slots:
|
|||
void forgotPasswordSuccess();
|
||||
void forgotPasswordError();
|
||||
void promptForgotPasswordReset();
|
||||
void iconActivated(QSystemTrayIcon::ActivationReason reason);
|
||||
void actShow();
|
||||
void promptForgotPasswordChallenge();
|
||||
void showWindowIfHidden();
|
||||
|
||||
|
|
@ -114,7 +114,6 @@ private:
|
|||
void createMenus();
|
||||
|
||||
void createTrayIcon();
|
||||
void createTrayActions();
|
||||
int getNextCustomSetPrefix(QDir dataDir);
|
||||
inline QString getCardUpdaterBinaryName()
|
||||
{
|
||||
|
|
@ -125,8 +124,8 @@ private:
|
|||
QList<QMenu *> tabMenus;
|
||||
QMenu *cockatriceMenu, *dbMenu, *helpMenu, *trayIconMenu;
|
||||
QAction *aConnect, *aDisconnect, *aSinglePlayer, *aWatchReplay, *aDeckEditor, *aFullScreen, *aSettings, *aExit,
|
||||
*aAbout, *aTips, *aCheckCardUpdates, *aRegister, *aForgotPassword, *aUpdate, *aViewLog, *closeAction;
|
||||
QAction *aManageSets, *aEditTokens, *aOpenCustomFolder, *aOpenCustomsetsFolder, *aAddCustomSet;
|
||||
*aAbout, *aTips, *aCheckCardUpdates, *aRegister, *aForgotPassword, *aUpdate, *aViewLog, *aManageSets,
|
||||
*aEditTokens, *aOpenCustomFolder, *aOpenCustomsetsFolder, *aAddCustomSet, *aShow;
|
||||
TabSupervisor *tabSupervisor;
|
||||
WndSets *wndSets;
|
||||
RemoteClient *client;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue