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
0262ce21
Commit
0262ce21
authored
Jan 30, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing unnecessary double semi-colon from single type filters in file dialogs
parent
7d4831d0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
MainWindow.cc
src/ui/MainWindow.cc
+1
-1
QGCToolWidget.cc
src/ui/designer/QGCToolWidget.cc
+2
-2
LinechartWidget.cc
src/ui/linechart/LinechartWidget.cc
+1
-1
No files found.
src/ui/MainWindow.cc
View file @
0262ce21
...
...
@@ -836,7 +836,7 @@ void MainWindow::createCustomWidget()
void
MainWindow
::
loadCustomWidget
()
{
QString
widgetFileExtension
(
".qgw"
);
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Specify Widget File Name"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"QGroundControl Widget (*%1)
;;
"
).
arg
(
widgetFileExtension
));
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Specify Widget File Name"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"QGroundControl Widget (*%1)"
).
arg
(
widgetFileExtension
));
if
(
fileName
!=
""
)
loadCustomWidget
(
fileName
);
}
void
MainWindow
::
loadCustomWidget
(
const
QString
&
fileName
,
int
view
)
...
...
src/ui/designer/QGCToolWidget.cc
View file @
0262ce21
...
...
@@ -576,7 +576,7 @@ void QGCToolWidget::exportWidget()
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
tr
(
"Specify File Name"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"QGroundControl Widget (*%1)
;;
"
).
arg
(
widgetFileExtension
),
tr
(
"QGroundControl Widget (*%1)"
).
arg
(
widgetFileExtension
),
0
,
0
,
&
defaultSuffix
);
//-- Note that if the user enters foo.bar, this will end up foo.bar.qgw
...
...
@@ -591,7 +591,7 @@ void QGCToolWidget::exportWidget()
void
QGCToolWidget
::
importWidget
()
{
const
QString
widgetFileExtension
(
".qgw"
);
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Specify File Name"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"QGroundControl Widget (*%1)
;;
"
).
arg
(
widgetFileExtension
));
QString
fileName
=
QGCFileDialog
::
getOpenFileName
(
this
,
tr
(
"Specify File Name"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"QGroundControl Widget (*%1)"
).
arg
(
widgetFileExtension
));
loadSettings
(
fileName
);
}
...
...
src/ui/linechart/LinechartWidget.cc
View file @
0262ce21
...
...
@@ -437,7 +437,7 @@ QString LinechartWidget::getLogSaveFilename()
QString
fileName
=
QGCFileDialog
::
getSaveFileName
(
this
,
tr
(
"Specify log file name"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DesktopLocation
),
tr
(
"Logfile (*.log)
;;
"
),
tr
(
"Logfile (*.log)"
),
0
,
0
,
&
defaultSuffix
);
return
fileName
;
...
...
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