Commit 76b976f8 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Use correct palette update signal in minibar

parent e90b836f
......@@ -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 )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment