diff --git a/src/plugins/cpptools/cppqtstyleindenter.cpp b/src/plugins/cpptools/cppqtstyleindenter.cpp index 892cc17349234adbe5bb9d0639b1f7f84d6d9eeb..413e404149d7c264e7dbbf422ef1f7d1c7bf607e 100644 --- a/src/plugins/cpptools/cppqtstyleindenter.cpp +++ b/src/plugins/cpptools/cppqtstyleindenter.cpp @@ -75,7 +75,8 @@ static bool colonIsElectric(const QString &text) || text.contains(QLatin1String("public")) || text.contains(QLatin1String("private")) || text.contains(QLatin1String("protected")) - || text.contains(QLatin1String("signals"))) { + || text.contains(QLatin1String("signals")) + || text.contains(QLatin1String("Q_SIGNALS"))) { return true; }