diff --git a/src/plugins/cppeditor/cppquickfixes.h b/src/plugins/cppeditor/cppquickfixes.h index 1a73c6b677d..e3230c6eec7 100644 --- a/src/plugins/cppeditor/cppquickfixes.h +++ b/src/plugins/cppeditor/cppquickfixes.h @@ -252,7 +252,7 @@ public: if (Type name = foo()) {...} With - Type name = foo; + Type name = foo(); if (name) {...} Activates on: the name of the introduced variable @@ -286,7 +286,8 @@ public: with if (something) - if (something_else) + if (something_else) { + } } and @@ -350,8 +351,9 @@ public: if (a) b; becomes - if (a) + if (a) { b; + } Activates on: the if */