diff options
-rw-r--r-- | qt-ui/downloadfromdivecomputer.cpp | 2 | ||||
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp index ba079e6dd..65e7a16e2 100644 --- a/qt-ui/downloadfromdivecomputer.cpp +++ b/qt-ui/downloadfromdivecomputer.cpp @@ -66,7 +66,7 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget* parent, Qt::WindowFlags f) : void DownloadFromDCWidget::runDialog() { ui->progressBar->hide(); - show(); + exec(); } void DownloadFromDCWidget::stoppedDownloading() diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 76e730be6..cdf8ee6c8 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -139,7 +139,7 @@ void SubsurfaceWebServices::setStatusText(int status) void SubsurfaceWebServices::runDialog() { - show(); + exec(); } /* requires that there is a <download> or <error> tag under the <root> tag */ |