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
Valentin Platzgummer
qgroundcontrol
Commits
78ef74f1
Commit
78ef74f1
authored
Oct 24, 2018
by
Patrick José Pereira
Browse files
QGCQFileDialog: Avoid QString initialization of empty string
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
4885d2f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QGCQFileDialog.cc
View file @
78ef74f1
...
...
@@ -159,7 +159,7 @@ QString QGCQFileDialog::getSaveFileName(
}
break
;
}
return
QString
(
""
)
;
return
{}
;
}
}
...
...
@@ -190,7 +190,7 @@ QString QGCQFileDialog::_getFirstExtensionInFilter(const QString& filter) {
return
match
.
captured
(
0
).
mid
(
2
);
}
}
return
QString
(
""
)
;
return
{}
;
}
/// @brief Validates and updates the parameters for the file dialog calls
...
...
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