forked from qt-creator/qt-creator
C++ Source file wizard: Do not write out #include directive
... on popular request. Task-number: QTCREATORBUG-164
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user