Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -81,9 +81,7 @@ QString CppFileWizard::fileContents(FileType type, const QString &fileName) cons ...@@ -81,9 +81,7 @@ QString CppFileWizard::fileContents(FileType type, const QString &fileName) cons
} }
break; break;
case Source: case Source:
str << QLatin1String("#include \"") << baseName str << '\n';
<< '.' << preferredSuffix(QLatin1String(Constants::CPP_HEADER_MIMETYPE))
<< QLatin1String("\"\n\n");
break; break;
} }
return contents; return contents;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment