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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-03-26 16:24:58 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2020-03-26 16:24:58 +0300
commit4b28fd60b69087167409c6da453f09477f1cea48 (patch)
tree890f92e2c2eaff4d8097b321f4907dc3e0ef040d /src/gui/activitywidget.cpp
parent41182605f0d8760d8d2573dcee2ed1b36be8bafe (diff)
parent242e4e1d702ca8a74ffeb6e266c5dd8f7088e46c (diff)
Merge remote-tracking branch 'origin/2.6'
Diffstat (limited to 'src/gui/activitywidget.cpp')
-rw-r--r--src/gui/activitywidget.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp
index effbda238..e634c3840 100644
--- a/src/gui/activitywidget.cpp
+++ b/src/gui/activitywidget.cpp
@@ -73,6 +73,8 @@ ActivityWidget::ActivityWidget(QWidget *parent)
// Create a widget container for the notifications. The ui file defines
// a scroll area that get a widget with a layout as children
QWidget *w = new QWidget;
+ // workaround for Qt not updating the background on theme changes
+ w->setAttribute(Qt::WA_OpaquePaintEvent, true);
_notificationsLayout = new QVBoxLayout;
w->setLayout(_notificationsLayout);
_notificationsLayout->setAlignment(Qt::AlignTop);
@@ -657,10 +659,7 @@ void ActivitySettings::slotRegularNotificationCheck()
bool ActivitySettings::event(QEvent *e)
{
if (e->type() == QEvent::Show) {
- AccountManager *am = AccountManager::instance();
- foreach (AccountStatePtr a, am->accounts()) {
- slotRefresh(a.data());
- }
+ slotRegularNotificationCheck();
}
return QWidget::event(e);
}