Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila San <hello@camila.codes>2018-02-21 20:49:12 +0300
committerCamila San <hello@camila.codes>2018-02-21 20:49:12 +0300
commit4ffff7454e698ae3efcabd6885fc2103a2d72fa7 (patch)
tree218b4430695a13875681816eb76a9824cfe172fc /src/gui/owncloudgui.h
parent9acb30ecb228877bbe076c2cf7a6435310af9f42 (diff)
Refactores code and displays nav. apps before Pause/Unpause folders sync.
Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/owncloudgui.h')
-rw-r--r--src/gui/owncloudgui.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/owncloudgui.h b/src/gui/owncloudgui.h
index 33c8d4356..c0fe1f5c2 100644
--- a/src/gui/owncloudgui.h
+++ b/src/gui/owncloudgui.h
@@ -126,7 +126,7 @@ private:
void setPauseOnAllFoldersHelper(bool pause);
void setupActions();
void addAccountContextMenu(AccountStatePtr accountState, QMenu *menu, bool separateMenu);
- void fetchNavigationApps();
+ void fetchNavigationApps(AccountStatePtr account, QMenu *accountMenu);
QPointer<Systray> _tray;
@@ -153,9 +153,6 @@ private:
QTimer _workaroundBatchTrayUpdate;
QMap<QString, QPointer<ShareDialog>> _shareDialogs;
- QAction *_actionLogin;
- QAction *_actionLogout;
-
QAction *_actionNewAccountWizard;
QAction *_actionSettings;
QAction *_actionStatus;
@@ -165,6 +162,7 @@ private:
QAction *_actionQuit;
QAction *_actionCrash;
QList<QAction *> _recentItemsActions;
+ QList<QAction *> _storedActionsForNavApps;
Application *_app;
ConfigFile _cfg;