fix compilation with Clang

REVIEW: 115125
This commit is contained in:
Fabian Kosmale 2014-01-19 16:17:07 +01:00
parent 22a5e1109f
commit 1b219ea6d9

View file

@ -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 {