From 1b219ea6d92f0828a2068d3c1f945238881509fb Mon Sep 17 00:00:00 2001 From: Fabian Kosmale <0inkane@googlemail.com> Date: Sun, 19 Jan 2014 16:17:07 +0100 Subject: [PATCH] fix compilation with Clang REVIEW: 115125 --- rules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.cpp b/rules.cpp index d09548bb67..6a9f693b6f 100644 --- a/rules.cpp +++ b/rules.cpp @@ -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 {