Commit 3e7d9b60 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

C++ Source file wizard: Do not write out #include directive

... on popular request.
Task-number: QTCREATORBUG-164
parent 345909a5
......@@ -81,9 +81,7 @@ QString CppFileWizard::fileContents(FileType type, const QString &fileName) cons
}
break;
case Source:
str << QLatin1String("#include \"") << baseName
<< '.' << preferredSuffix(QLatin1String(Constants::CPP_HEADER_MIMETYPE))
<< QLatin1String("\"\n\n");
str << '\n';
break;
}
return contents;
......
Supports Markdown
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