summaryrefslogtreecommitdiff
path: root/quacker/letterbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quacker/letterbox.cpp')
-rw-r--r--quacker/letterbox.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/quacker/letterbox.cpp b/quacker/letterbox.cpp
index 8edcaa5..aeed7af 100644
--- a/quacker/letterbox.cpp
+++ b/quacker/letterbox.cpp
@@ -358,7 +358,11 @@ ClueResult Letterbox::parseComment(const QString &comment)
if (comment.isEmpty())
return ClueResult();
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
+ QStringList items = comment.split(" ", Qt::SkipEmptyParts);
+#else
QStringList items = comment.split(" ", QString::SkipEmptyParts);
+#endif
ClueResult ret;