[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.
wilder-5.24
David Edmundson 5 years ago committed by Devin Lin
parent 22328864fa
commit cd80281109
  1. 2
      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());
}

Loading…
Cancel
Save