Skip to content
GitLab
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
2b566875
Commit
2b566875
authored
Mar 17, 2009
by
Friedemann Kleint
Browse files
Fixes: Form Class Wizard: Generate call to base class implementation of changeEvent().
parent
178fe102
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/designer/cpp/formclasswizardparameters.cpp
View file @
2b566875
...
...
@@ -162,6 +162,7 @@ bool FormClassWizardParameters::generateCpp(QString *header, QString *source, in
if
(
languageChange
)
{
sourceStr
<<
'\n'
<<
namespaceIndent
<<
"void "
<<
unqualifiedClassName
<<
"::"
<<
"changeEvent(QEvent *e)
\n
"
<<
namespaceIndent
<<
"{
\n
"
<<
namespaceIndent
<<
indent
<<
formBaseClass
<<
"::changeEvent(e);
\n
"
<<
namespaceIndent
<<
indent
<<
"switch (e->type()) {
\n
"
<<
namespaceIndent
<<
indent
<<
"case QEvent::LanguageChange:
\n
"
<<
namespaceIndent
<<
indent
<<
indent
;
if
(
embedding
!=
InheritedUiClass
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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