summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppclasswizard.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-03-19 13:58:13 +0100
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-03-19 14:01:58 +0100
commit69cd22ba39462c81049ac5c716ad9717a8ec98cc (patch)
treea0fd67a3dff877daa05910cf7d7358d7099bc3a4 /src/plugins/cppeditor/cppclasswizard.cpp
parentf1c9b1ca5e2725f83b2d221a9bd7780401eae7ab (diff)
downloadqt-creator-69cd22ba39462c81049ac5c716ad9717a8ec98cc.tar.gz
Fixed the indentation of the Q_OBJECT macro in new class wizard
Diffstat (limited to 'src/plugins/cppeditor/cppclasswizard.cpp')
-rw-r--r--src/plugins/cppeditor/cppclasswizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppclasswizard.cpp b/src/plugins/cppeditor/cppclasswizard.cpp
index b324726624..7e565bfcc6 100644
--- a/src/plugins/cppeditor/cppclasswizard.cpp
+++ b/src/plugins/cppeditor/cppclasswizard.cpp
@@ -282,7 +282,7 @@ bool CppClassWizard::generateHeaderAndSource(const CppClassWizardParameters &par
headerStr << "\n";
headerStr << namespaceIndent << "{\n";
if (defineQObjectMacro)
- headerStr << namespaceIndent << "Q_OBJECT\n";
+ headerStr << namespaceIndent << indent << "Q_OBJECT\n";
headerStr << namespaceIndent << "public:\n"
<< namespaceIndent << indent;
// Constructor