diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp index f721a4cf3..f5dbe7d49 100644 --- a/src/gui/activitywidget.cpp +++ b/src/gui/activitywidget.cpp @@ -643,6 +643,9 @@ ActivitySettings::~ActivitySettings() void ActivitySettings::slotStyleChanged() { + if(_progressIndicator) + _progressIndicator->setColor(QGuiApplication::palette().color(QPalette::Text)); + // Notify the other widgets (Dark-/Light-Mode switching) emit styleChanged(); } diff --git a/src/gui/sharelinkwidget.cpp b/src/gui/sharelinkwidget.cpp index 73bd01c86..62ed18da8 100644 --- a/src/gui/sharelinkwidget.cpp +++ b/src/gui/sharelinkwidget.cpp @@ -573,6 +573,8 @@ void ShareLinkWidget::customizeStyle() _ui->confirmNote->setIcon(Theme::createColorAwareIcon(":/client/resources/confirm.svg")); _ui->confirmPassword->setIcon(Theme::createColorAwareIcon(":/client/resources/confirm.svg")); _ui->confirmExpirationDate->setIcon(Theme::createColorAwareIcon(":/client/resources/confirm.svg")); + + _ui->progressIndicator->setColor(QGuiApplication::palette().color(QPalette::Text)); } } diff --git a/src/gui/shareusergroupwidget.cpp b/src/gui/shareusergroupwidget.cpp index 47cd3a80e..0a58d61a5 100644 --- a/src/gui/shareusergroupwidget.cpp +++ b/src/gui/shareusergroupwidget.cpp @@ -380,6 +380,12 @@ void ShareUserGroupWidget::slotStyleChanged() void ShareUserGroupWidget::customizeStyle() { _ui->confirmShare->setIcon(Theme::createColorAwareIcon(":/client/resources/confirm.svg")); + + _pi_sharee.setColor(QGuiApplication::palette().color(QPalette::Text)); + + foreach (auto pi, _parentScrollArea->findChildren()) { + pi->setColor(QGuiApplication::palette().color(QPalette::Text));; + } } ShareUserLine::ShareUserLine(QSharedPointer share, diff --git a/src/gui/wizard/owncloudadvancedsetuppage.cpp b/src/gui/wizard/owncloudadvancedsetuppage.cpp index 1c278f66a..03cfb0661 100644 --- a/src/gui/wizard/owncloudadvancedsetuppage.cpp +++ b/src/gui/wizard/owncloudadvancedsetuppage.cpp @@ -396,6 +396,8 @@ void OwncloudAdvancedSetupPage::slotStyleChanged() void OwncloudAdvancedSetupPage::customizeStyle() { + if(_progressIndi) + _progressIndi->setColor(QGuiApplication::palette().color(QPalette::Text)); } } // namespace OCC diff --git a/src/gui/wizard/owncloudhttpcredspage.cpp b/src/gui/wizard/owncloudhttpcredspage.cpp index 12f3e78d1..092bf789d 100644 --- a/src/gui/wizard/owncloudhttpcredspage.cpp +++ b/src/gui/wizard/owncloudhttpcredspage.cpp @@ -201,6 +201,8 @@ void OwncloudHttpCredsPage::slotStyleChanged() void OwncloudHttpCredsPage::customizeStyle() { + if(_progressIndi) + _progressIndi->setColor(QGuiApplication::palette().color(QPalette::Text)); } } // namespace OCC diff --git a/src/gui/wizard/owncloudsetuppage.cpp b/src/gui/wizard/owncloudsetuppage.cpp index 758f05eed..84f160aaf 100644 --- a/src/gui/wizard/owncloudsetuppage.cpp +++ b/src/gui/wizard/owncloudsetuppage.cpp @@ -442,6 +442,9 @@ void OwncloudSetupPage::customizeStyle() pal.setColor(QPalette::WindowText, theme->wizardHeaderBackgroundColor()); _ui.slideShow->setPalette(pal); #endif + + if(_progressIndi) + _progressIndi->setColor(QGuiApplication::palette().color(QPalette::Text)); } } // namespace OCC