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;