summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-18 20:25:06 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-18 20:25:06 -0500
commit150676ce3df0f60bd99204886c3a4e458253c093 (patch)
treed722dafb6487d2dc56e78f8e39965fb1b7bed362 /qt-ui/mainwindow.cpp
parent48fe5254dc9540f6b9fc13ab17029e6c7b8de975 (diff)
parent7264ec2fa877eeffa99745ac4d7af91b93217aa5 (diff)
downloadsubsurface-150676ce3df0f60bd99204886c3a4e458253c093.tar.gz
Merge branch 'joshua-gsoc' of git://github.com/thiagomacieira/subsurface into josh
Signed-off-by: Dirk Hohndel <dirk@hohndel.org> Conflicts: subsurface.pro
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index b27f2b606..74015c73f 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -41,6 +41,7 @@
#include "worldmap-save.h"
#include "updatemanager.h"
#include "planner.h"
+#include "configuredivecomputerdialog.h"
#ifndef NO_PRINTING
#include <QPrintDialog>
#include "printdialog.h"
@@ -1298,6 +1299,12 @@ void MainWindow::on_actionExport_triggered()
diveLogExport.exec();
}
+void MainWindow::on_actionConfigure_Dive_Computer_triggered()
+{
+ ConfigureDiveComputerDialog *dcConfig = new ConfigureDiveComputerDialog(this);
+ dcConfig->show();
+}
+
void MainWindow::setEnabledToolbar(bool arg1)
{
QList<QToolButton*> toolBar;