aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Boris Barbulovski <bbarbulovski@gmail.com>2014-02-09 17:51:19 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-09 14:04:37 -0800
commit9eb47602dd86e3233ee7a0ce1a10e5021c282489 (patch)
treed621b6a22865df4ed30a8d3fc9e6503839f138fc /qt-ui/mainwindow.cpp
parenta8823c1793362d30477905917c59ec47dc2f2717 (diff)
downloadsubsurface-9eb47602dd86e3233ee7a0ce1a10e5021c282489.tar.gz
Cleanup SubsurfaceWebServices class
* Remove statuic SubsurfaceWebServices::instance() member. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index a477bbdd4..537da82be 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -277,7 +277,9 @@ void MainWindow::on_actionDownloadDC_triggered()
void MainWindow::on_actionDownloadWeb_triggered()
{
- SubsurfaceWebServices::instance()->exec();
+ SubsurfaceWebServices dlg(this);
+
+ dlg.exec();
}
void MainWindow::on_actionDivelogs_de_triggered()