Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
3e7d9b60
Commit
3e7d9b60
authored
Oct 28, 2009
by
Friedemann Kleint
Browse files
C++ Source file wizard: Do not write out #include directive
... on popular request. Task-number: QTCREATORBUG-164
parent
345909a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppfilewizard.cpp
View file @
3e7d9b60
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment