aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kconfigloader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kconfigloader.cpp b/src/gui/kconfigloader.cpp
index abed2e0e..1e33f4ea 100644
--- a/src/gui/kconfigloader.cpp
+++ b/src/gui/kconfigloader.cpp
@@ -238,7 +238,11 @@ void ConfigLoaderHandler::addItem()
//FIXME: the split() is naive and will break on lists with ,'s in them
//empty parts are not wanted in this case
item = m_config->addItemStringList(m_name, *d->newStringList(),
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
m_default.split(QLatin1Char(','), QString::SkipEmptyParts), m_key);
+#else
+ m_default.split(QLatin1Char(','), Qt::SkipEmptyParts), m_key);
+#endif
} else if (m_type == QLatin1String("uint")) {
KConfigSkeleton::ItemUInt *uintItem =
m_config->addItemUInt(m_name, *d->newUint(), m_default.toUInt(), m_key);