Commit eef7a6a2 authored by Laurent Montel's avatar Laurent Montel 😁

Now it depends against new version. Old code can be removed

parent 6c98f256
......@@ -226,11 +226,7 @@ namespace Breeze
QStringLiteral( "org.kde.KWin" ),
QStringLiteral( "reloadConfig" ), this, SLOT(configurationChanged()));
#if QT_VERSION < 0x050D00 // Check if Qt version < 5.13
this->addEventFilter(qApp);
#else
connect(qApp, &QApplication::paletteChanged, this, &Style::configurationChanged);
#endif
// call the slot directly; this initial call will set up things that also
// need to be reset when the system palette changes
loadConfiguration();
......
Markdown is supported
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