Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
4c305e52
Commit
4c305e52
authored
Sep 17, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to native file dialogs
parent
adf3fd90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
QGCFileDialog.cc
src/QGCFileDialog.cc
+2
-6
No files found.
src/QGCFileDialog.cc
View file @
4c305e52
...
...
@@ -204,16 +204,12 @@ QString QGCFileDialog::_getFirstExtensionInFilter(const QString& filter) {
/// @brief Validates and updates the parameters for the file dialog calls
void
QGCFileDialog
::
_validate
(
Options
&
options
)
{
Q_UNUSED
(
options
)
// You can't use QGCFileDialog if QGCApplication is not created yet.
Q_ASSERT
(
qgcApp
());
Q_ASSERT_X
(
QThread
::
currentThread
()
==
qgcApp
()
->
thread
(),
"Threading issue"
,
"QGCFileDialog can only be called from main thread"
);
#ifdef __mobile__
Q_UNUSED
(
options
)
#else
// On OSX native dialog can hang so we always use Qt dialogs
options
|=
DontUseNativeDialog
;
#endif
if
(
MainWindow
::
instance
())
{
}
}
Write
Preview
Markdown
is supported
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