Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

Remove unused check

parent c3b51dcb
......@@ -119,13 +119,9 @@ void Platform::createPlatformCursor(QObject *parent)
void Platform::configurationChangeRequested(KWayland::Server::OutputConfigurationInterface *config)
{
Q_UNUSED(config)
qCWarning(KWIN_CORE) << "This backend does not support configuration changes.";
// KCoreAddons needs kwayland's 2b3f9509ac1 to not crash
if (KCoreAddons::version() >= QT_VERSION_CHECK(5, 39, 0)) {
config->setFailed();
}
config->setFailed();
}
void Platform::setSoftWareCursor(bool set)
......
......@@ -344,12 +344,6 @@ void Decoration::init()
}
//workaround for https://codereview.qt-project.org/#/c/207198/
#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0))
if (!usingGL) {
m_renderControl->sync();
}
#endif
// delay rendering a little bit for better performance
m_updateTimer.reset(new QTimer);
m_updateTimer->setSingleShot(true);
......
......@@ -580,10 +580,7 @@ void DrmBackend::configurationChangeRequested(KWayland::Server::OutputConfigurat
} else {
emit screens()->changed();
}
// KCoreAddons needs kwayland's 2b3f9509ac1 to not crash
if (KCoreAddons::version() >= QT_VERSION_CHECK(5, 39, 0)) {
config->setApplied();
}
config->setApplied();
}
DrmOutput *DrmBackend::findOutput(quint32 connector)
......
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