From 56184b319ced861c892d244940238cb725448f3f Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Tue, 24 Jul 2018 00:46:23 -0400 Subject: [PATCH] For QString.split() use QLatin1Char() --- src/SessionManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SessionManager.cpp b/src/SessionManager.cpp index 33de977c..9b3ec86c 100644 --- a/src/SessionManager.cpp +++ b/src/SessionManager.cpp @@ -199,7 +199,7 @@ void SessionManager::applyProfile(Session *session, const Profile::Ptr profile, // e.g. the second version should be higher than the first one: // 18.04.12 -> 180412 // 18.08.0 -> 180800 - QStringList list = QStringLiteral(KONSOLE_VERSION).split(QLatin1String(".")); + QStringList list = QStringLiteral(KONSOLE_VERSION).split(QLatin1Char('.')); if (list[2].length() < 2) { list[2].prepend(QLatin1String("0")); }