diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-07 11:43:45 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-07 11:43:45 -0300 |
commit | ebed836ee5d10659ae3d830704508f9c575181d3 (patch) | |
tree | 00efafb0433e7dc6e6f9a2c99be3b12b06a69e06 /qt-ui/mainwindow.cpp | |
parent | 3677f4e5ead410d4023668420ca4f062c4223888 (diff) | |
download | subsurface-ebed836ee5d10659ae3d830704508f9c575181d3.tar.gz |
Created a new dialog - Edit DiveComputer
Created a new dialog, Edit Divecomputer, it will currently only lists
the divecomputers that are used on the xml file. I used the same method
that the gtk version used, but only 2 divecomputers got visualized in the
dirk dive data. I'll assume that it's correct and will fix it in the next
couple of commits.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 286aba43e..a927c0231 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -29,6 +29,7 @@ #include "downloadfromdivecomputer.h" #include "preferences.h" #include "subsurfacewebservices.h" +#include "divecomputermanagementdialog.h" static MainWindow* instance = 0; @@ -187,7 +188,9 @@ void MainWindow::on_actionDownloadWeb_triggered() void MainWindow::on_actionEditDeviceNames_triggered() { - qDebug("actionEditDeviceNames");} + DiveComputerManagementDialog::instance()->update(); + DiveComputerManagementDialog::instance()->show(); +} void MainWindow::on_actionAddDive_triggered() { |