aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-05-12 19:18:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-27 11:07:19 -0700
commit54bb5ccf9ef828ac75e6d7445a7cd91932f708ad (patch)
treeefbeaf1fcbd3e4abdea52887b88253d71fb1cbcc
parent0e4c996f5189b3c364db73075ae009028a28c390 (diff)
downloadsubsurface-54bb5ccf9ef828ac75e6d7445a7cd91932f708ad.tar.gz
Display the dialog correctly
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--desktop-widgets/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 824451bfd..9df50663e 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -778,8 +778,8 @@ void MainWindow::on_actionQuit_triggered()
void MainWindow::on_actionDownloadDC_triggered()
{
- DownloadFromDCWidget dlg(this);
- dlg.show();
+ DownloadFromDCWidget dlg(this);
+ dlg.exec();
}
void MainWindow::on_actionDownloadWeb_triggered()