fix compilation with Clang
REVIEW: 115125
This commit is contained in:
parent
22a5e1109f
commit
1b219ea6d9
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ void Rules::write(KConfigGroup& cfg) const
|
|||
WRITE_SET_RULE(below,);
|
||||
WRITE_SET_RULE(fullscreen,);
|
||||
WRITE_SET_RULE(noborder,);
|
||||
auto colorToString = [](const QString &value) {
|
||||
auto colorToString = [](const QString &value) -> QString {
|
||||
if (value.endsWith(QStringLiteral(".colors"))) {
|
||||
return QFileInfo(value).baseName();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue