diff options
author | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2020-01-03 15:09:29 +0300 |
---|---|---|
committer | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2020-01-03 15:09:29 +0300 |
commit | b32310b8a6b298e7bc96df14205e00d8bd1f8c00 (patch) | |
tree | 443eb2248f892062f2df438934af5c4ce9c7b859 /src/gui/owncloudgui.cpp | |
parent | 556a1a5ef2b132e39bd199b96040f41e84286928 (diff) |
Gigantic ton of changes and deletions: ActivityListModel, tray GUI, Account logic.
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Diffstat (limited to 'src/gui/owncloudgui.cpp')
-rw-r--r-- | src/gui/owncloudgui.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp index 27662f715..8916c2846 100644 --- a/src/gui/owncloudgui.cpp +++ b/src/gui/owncloudgui.cpp @@ -207,10 +207,6 @@ void ownCloudGui::slotSyncStateChange(Folder *folder) || result.status() == SyncResult::Error) { Logger::instance()->enterNextLogFile(); } - - if (result.status() == SyncResult::NotYetStarted) { - _settingsDialog->slotRefreshActivity(folder->accountState()); - } } void ownCloudGui::slotFoldersChanged() @@ -792,10 +788,7 @@ void ownCloudGui::setupActions() _navLinksMenu->setEnabled(false); _actionSettings = new QAction(tr("Settings …"), this); _actionNewAccountWizard = new QAction(tr("New account …"), this); - _actionRecent = new QAction(tr("View more activity …"), this); - _actionRecent->setEnabled(true); - QObject::connect(_actionRecent, &QAction::triggered, this, &ownCloudGui::slotShowSyncProtocol); QObject::connect(_actionSettings, &QAction::triggered, this, &ownCloudGui::slotShowSettings); QObject::connect(_actionNewAccountWizard, &QAction::triggered, this, &ownCloudGui::slotNewAccountWizard); _actionHelp = new QAction(tr("Help"), this); @@ -909,8 +902,6 @@ void ownCloudGui::slotRebuildRecentMenus() } else { _recentActionsMenu->addAction(tr("No items synced recently"))->setEnabled(false); } - // add a more... entry. - _recentActionsMenu->addAction(_actionRecent); } /// Returns true if the completion of a given item should show up in the @@ -970,8 +961,6 @@ void ownCloudGui::slotUpdateProgress(const QString &folder, const ProgressInfo & _actionStatus->setText(msg); } - _actionRecent->setIcon(QIcon()); // Fixme: Set a "in-progress"-item eventually. - if (!progress._lastCompletedItem.isEmpty() && shouldShowInRecentsMenu(progress._lastCompletedItem)) { if (Progress::isWarningKind(progress._lastCompletedItem._status)) { |