diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-06 10:33:15 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-06-06 10:33:15 -0300 |
commit | c1cf6c02a8a82296840d3a4c6948bc04a5bb5e51 (patch) | |
tree | cc689ef4b77cf3f53445e7f9d93475d71693e305 /qt-ui/mainwindow.cpp | |
parent | 74d23ed83b0fe4a2270adc41b5a9bd20b7ca5d29 (diff) | |
download | subsurface-c1cf6c02a8a82296840d3a4c6948bc04a5bb5e51.tar.gz |
Added initial support for download dive info from the subsurface web service.
Added initial support for download dive info from subsurface web service,
the current code only downloads and output the xml downloaded in the debug
area. Now I need to parse things up and plug the unplugged stuff.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 3c550439b..f4d634d7f 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -28,6 +28,7 @@ #include "models.h" #include "downloadfromdivecomputer.h" #include "preferences.h" +#include "subsurfacewebservices.h" static MainWindow* instance = 0; @@ -181,7 +182,8 @@ void MainWindow::on_actionDownloadDC_triggered() void MainWindow::on_actionDownloadWeb_triggered() { - qDebug("actionDownloadWeb");} + SubsurfaceWebServices::instance()->runDialog(); +} void MainWindow::on_actionEditDeviceNames_triggered() { |