aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-02-09 19:51:31 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-10 10:45:45 -0800
commit6b038c2a9aa16410b614a7febaa3a856a7f7cd6f (patch)
tree0dd2f7b61742a240ecad4a126df1b2e0871add5b /qt-ui/simplewidgets.cpp
parent2992d78f83ce121b5a34a566026c6068416c2557 (diff)
downloadsubsurface-6b038c2a9aa16410b614a7febaa3a856a7f7cd6f.tar.gz
Remove the ProfileWidget from mainwindow.ui
It is now in mainwindo.cpp Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index 6d7ce67d0..5c08a3f7e 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -12,6 +12,8 @@
#include "helpers.h"
#include "libdivecomputer/parser.h"
#include "divelistview.h"
+#include "display.h"
+#include "profile/profilewidget2.h"
class MinMaxAvgWidgetPrivate {
public:
@@ -170,7 +172,6 @@ void SetpointDialog::buttonClicked(QAbstractButton *button)
add_event(dc, time, SAMPLE_EVENT_PO2, 0, (int)(1000.0 * ui.spinbox->value()), "SP change");
mark_divelist_changed(true);
MainWindow::instance()->graphics()->replot();
-
}
SetpointDialog::SetpointDialog(QWidget *parent) : QDialog(parent)