Commit c334deaa authored by Dan Leinir Turthra Jensen's avatar Dan Leinir Turthra Jensen 🌈
Browse files

Temporarily fix build against master

This will need reverting once the patch supplying the actual code
this depends on has been merged (and is ready for CI)
parent c995119c
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#include <KIO/JobUiDelegate> #include <KIO/JobUiDelegate>
#include <knewstuffcore_version.h> #include <knewstuffcore_version.h>
#if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=67 #if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=68
#include <KNSCore/EntryWrapper> #include <KNSCore/EntryWrapper>
#endif #endif
...@@ -123,7 +123,7 @@ void KCMColors::reloadModel(const QQmlListReference &changedEntries) ...@@ -123,7 +123,7 @@ void KCMColors::reloadModel(const QQmlListReference &changedEntries)
{ {
m_model->load(); m_model->load();
#if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=67 #if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=68
// If a new theme was installed, select the first color file in it // If a new theme was installed, select the first color file in it
if (changedEntries.count() > 0) { if (changedEntries.count() > 0) {
QStringList installedThemes; QStringList installedThemes;
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <KGlobalSettings> #include <KGlobalSettings>
#include <knewstuffcore_version.h> #include <knewstuffcore_version.h>
#if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=67 #if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=68
#include <KNSCore/EntryWrapper> #include <KNSCore/EntryWrapper>
#endif #endif
...@@ -410,7 +410,7 @@ void CursorThemeConfig::defaults() ...@@ -410,7 +410,7 @@ void CursorThemeConfig::defaults()
void CursorThemeConfig::ghnsEntriesChanged(const QQmlListReference &changedEntries) void CursorThemeConfig::ghnsEntriesChanged(const QQmlListReference &changedEntries)
{ {
#if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=67 #if KNEWSTUFFCORE_VERSION_MAJOR==5 && KNEWSTUFFCORE_VERSION_MINOR>=68
for (int i = 0; i < changedEntries.count(); ++i) { for (int i = 0; i < changedEntries.count(); ++i) {
KNSCore::EntryWrapper* entry = qobject_cast<KNSCore::EntryWrapper*>(changedEntries.at(i)); KNSCore::EntryWrapper* entry = qobject_cast<KNSCore::EntryWrapper*>(changedEntries.at(i));
if (entry) { if (entry) {
......
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