Commit 4c802ee1 authored by hjk's avatar hjk
Browse files

code cosmetics for generated code

parent be0abf3c
......@@ -386,7 +386,7 @@ bool FormClassWizardParametersPrivate::generateCpp(const FormClassWizardGenerati
if (embedding == FormClassWizardGenerationParameters::InheritedUiClass) {
headerStr << ", private " << uiClassName;
}
headerStr << " {\n" << namespaceIndent << indent << "Q_OBJECT\n"
headerStr << "\n{\n" << namespaceIndent << indent << "Q_OBJECT\n\n"
<< namespaceIndent << "public:\n"
<< namespaceIndent << indent << "explicit " << unqualifiedClassName << "(QWidget *parent = 0);\n";
if (embedding == FormClassWizardGenerationParameters::PointerAggregatedUiClass)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment