mirror of
https://github.com/KDE/konsole.git
synced 2025-12-23 23:38:08 -05:00
Remove usage of KDEFrameworkCompilerSettings
As advised by docs and to prevent false error of failing KDEMetaInfoPlatformCheck due to missing metainfo.yaml file. Also corrected ambiguous operator overload which were causing compilation errors.
This commit is contained in:
committed by
Kurt Hindenburg
parent
bee7fd2357
commit
0452927792
@@ -27,7 +27,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
|
||||
include(KDEInstallDirs)
|
||||
include(KDECMakeSettings)
|
||||
include(KDECompilerSettings NO_POLICY_SCOPE)
|
||||
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
|
||||
include(ECMOptionalAddSubdirectory)
|
||||
include(ECMInstallIcons)
|
||||
include(ECMSetupVersion)
|
||||
|
||||
@@ -153,7 +153,7 @@ QString ProcessInfo::formatShortDir(const QString &input) const
|
||||
for (auto it = parts.crbegin(), endIt = parts.crend(); it != endIt; ++it) {
|
||||
const QString &part = *it;
|
||||
if (dirNamesToShorten.contains(part)) {
|
||||
result.prepend(QDir::separator() + part[0]);
|
||||
result.prepend(QDir::separator() + static_cast<QString>(part[0]));
|
||||
} else {
|
||||
result.prepend(part);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user