summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 14:28:35 (GMT)
committerMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 14:28:35 (GMT)
commit76b976f87e806b7eb9f7dc56da4efe7e79832694 (patch)
treefa2ad93985cd69b720616e35e5ef712d55138493
parente90b836fee88e92492c6b0c73c4f56d7a7cc0f98 (diff)
Use correct palette update signal in minibar
-rw-r--r--ui/minibar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/minibar.cpp b/ui/minibar.cpp
index b6a1c18..ebe3146 100644
--- a/ui/minibar.cpp
+++ b/ui/minibar.cpp
@@ -20,7 +20,6 @@
#include <QtWidgets/QToolButton>
#include <qvalidator.h>
#include <qpainter.h>
-#include <kglobalsettings.h>
#include <QIcon>
#include <kicontheme.h>
#include <klineedit.h>
@@ -496,7 +495,7 @@ PagesEdit::PagesEdit( MiniBar * parent )
QFocusEvent fe( QEvent::FocusOut );
QApplication::sendEvent( this, &fe );
- connect( KGlobalSettings::self(), &KGlobalSettings::appearanceChanged, this, &PagesEdit::updatePalette );
+ connect( qApp, &QGuiApplication::paletteChanged, this, &PagesEdit::updatePalette );
}
void PagesEdit::setText( const QString & newText )