From 3ec45acc431b03ef96654498bf7cfcd26762564b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 24 Jul 2019 08:22:12 +0200 Subject: [PATCH] astyle formatting [ci skip] --- gui/codeeditorstyle.cpp | 6 +++--- lib/importproject.cpp | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gui/codeeditorstyle.cpp b/gui/codeeditorstyle.cpp index 414c50356..aa841bbb3 100644 --- a/gui/codeeditorstyle.cpp +++ b/gui/codeeditorstyle.cpp @@ -230,7 +230,7 @@ QString CodeEditorStyle::generateStyleString() const if (isSystemTheme()) return QString(); return QString("background:%1; color:%2; selection-background-color:%3;") - .arg(rgbStyleString(widgetBGColor)) - .arg(rgbStyleString(widgetFGColor)) - .arg(rgbStyleString(highlightBGColor)); + .arg(rgbStyleString(widgetBGColor)) + .arg(rgbStyleString(widgetFGColor)) + .arg(rgbStyleString(highlightBGColor)); } diff --git a/lib/importproject.cpp b/lib/importproject.cpp index b8c67fa81..e01a45f4d 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -1081,8 +1081,7 @@ bool ImportProject::importCppcheckGuiProject(std::istream &istr, Settings *setti else return false; } - } - else + } else return false; } settings->basePaths = temp.basePaths;