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
de654660
Commit
de654660
authored
Feb 18, 2015
by
Basil Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaned up mess from merging
parent
9f2c004b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
QGCApplication.cc
src/QGCApplication.cc
+0
-9
No files found.
src/QGCApplication.cc
View file @
de654660
...
...
@@ -498,20 +498,11 @@ void QGCApplication::saveTempFlightDataLogOnMainThread(QString tempLogfile)
if
(
QFile
::
exists
(
saveFilename
)
&&
!
QFile
::
remove
(
saveFilename
)){
// if the file cannot be removed, prompt user and ask new path
saveError
=
true
;
<<<<<<<
Updated
upstream
QMessageBox
::
warning
(
MainWindow
::
instance
(),
"File Error"
,
"Could not overwrite existing file.
\n
Please provide a different file name to save to."
);
QFile
::
copy
(
tempLogfile
,
saveFilename
);
}
else
if
(
!
QFile
::
copy
(
tempLogfile
,
saveFilename
))
{
// if file could not be copied, prompt user and ask new path
saveError
=
true
;
QMessageBox
::
warning
(
MainWindow
::
instance
(),
"File Error"
,
"Could not create file.
\n
Please provide a different file name to save to."
);
=======
QGCApplication
::
criticalMessageBoxOnMainThread
(
"File Error"
,
"Could not overwrite existing file.
\n
Please provide a different file name to save to."
);
}
else
if
(
!
QFile
::
copy
(
tempLogfile
,
saveFilename
))
{
// if file could not be copied, prompt user and ask new path
saveError
=
true
;
QGCApplication
::
criticalMessageBoxOnMainThread
(
"File Error"
,
"Could not create file.
\n
Please provide a different file name to save to."
);
>>>>>>>
Stashed
changes
}
}
}
while
(
saveError
);
// if the file could not be overwritten, ask for new file
...
...
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