diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-05-25 12:05:52 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-05-25 12:07:29 +0200 |
commit | 25694735353a3f3a01df1e8b0c5f54f182b0d0e2 (patch) | |
tree | fadf86d067b8938525eadf8983f9e36b637b6c44 /src/plugins/cpptools/cppqtstyleindenter.cpp | |
parent | 8a8b371ecc6a146422196dadfd9e568b53d7cad9 (diff) | |
download | qt-creator-25694735353a3f3a01df1e8b0c5f54f182b0d0e2.tar.gz |
C++ indenter: Fix reindenting 'Q_SIGNALS:'.
Change-Id: Ieb2a7673e99dec06d925263f48b39c0c3a4d2fa1
Reviewed-on: http://codereview.qt.nokia.com/108
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cppqtstyleindenter.cpp')
-rw-r--r-- | src/plugins/cpptools/cppqtstyleindenter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppqtstyleindenter.cpp b/src/plugins/cpptools/cppqtstyleindenter.cpp index 892cc17349..413e404149 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; } |