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
62aaa1b2
Commit
62aaa1b2
authored
Dec 28, 2011
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v10release' of github.com:pixhawk/qgroundcontrol into v10release
parents
909727e3
3f331cd3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
1 deletion
+29
-1
qgroundcontrol.pri
qgroundcontrol.pri
+4
-0
LinechartPlot.cc
src/ui/linechart/LinechartPlot.cc
+23
-1
LinechartWidget.cc
src/ui/linechart/LinechartWidget.cc
+2
-0
No files found.
qgroundcontrol.pri
View file @
62aaa1b2
...
...
@@ -190,6 +190,8 @@ macx|macx-g++42|macx-g++: {
# GNU/Linux
linux-g++ {
CONFIG -= console
debug {
#DESTDIR = $$TARGETDIR/debug
#CONFIG += debug console
...
...
@@ -274,6 +276,8 @@ message("Compiling for linux 32")
linux-g++-64 {
CONFIG -= console
debug {
#DESTDIR = $$TARGETDIR/debug
#CONFIG += debug console
...
...
src/ui/linechart/LinechartPlot.cc
View file @
62aaa1b2
...
...
@@ -132,7 +132,29 @@ LinechartPlot::LinechartPlot(QWidget *parent, int plotid, quint64 interval): Qwt
LinechartPlot
::~
LinechartPlot
()
{
removeAllData
();
// datalock.lock();
// // Delete curves
// QMap<QString, QwtPlotCurve*>::iterator i;
// for(i = curves.begin(); i != curves.end(); ++i) {
// // Remove from curve list
// QwtPlotCurve* curve = curves.take(i.key());
// // Delete the object
// delete curve;
// // Set the pointer null
// curve = NULL;
// }
// // Delete data
// QMap<QString, TimeSeriesData*>::iterator j;
// for(j = data.begin(); j != data.end(); ++j) {
// // Remove from data list
// TimeSeriesData* d = data.take(j.key());
// // Delete the object
// delete d;
// // Set the pointer null
// d = NULL;
// }
// datalock.unlock();
}
void
LinechartPlot
::
showEvent
(
QShowEvent
*
event
)
...
...
src/ui/linechart/LinechartWidget.cc
View file @
62aaa1b2
...
...
@@ -153,6 +153,8 @@ LinechartWidget::~LinechartWidget()
{
writeSettings
();
stopLogging
();
if
(
activePlot
)
delete
activePlot
;
activePlot
=
NULL
;
delete
listedCurves
;
listedCurves
=
NULL
;
}
...
...
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