From cd802811098e55bdaccaaae003a0c9c18f0a5bcb Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Thu, 13 May 2021 13:16:28 +0100 Subject: [PATCH] [kcms/users] Fix build concatenating two chars Two QChar's cannot be added, we need to hint to the compiler that we are building a string as found by recent CMake changes. --- kcms/users/src/kcm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcms/users/src/kcm.cpp b/kcms/users/src/kcm.cpp index 32d2429df..6254d23db 100644 --- a/kcms/users/src/kcm.cpp +++ b/kcms/users/src/kcm.cpp @@ -122,7 +122,7 @@ QString KCMUser::initializeString(const QString &stringToGrabInitialsOf) if (last.isEmpty()) { return QString(first.front()); } - return first.front() + last.front(); + return QString(first.front()) + last.front(); } else { return QString(normalized.front()); }