diff options
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 0cafa08cf..a477bbdd4 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -270,8 +270,9 @@ void MainWindow::on_actionQuit_triggered() void MainWindow::on_actionDownloadDC_triggered() { - DownloadFromDCWidget* downloadWidget = DownloadFromDCWidget::instance(); - downloadWidget->runDialog(); + DownloadFromDCWidget dlg(this); + + dlg.exec(); } void MainWindow::on_actionDownloadWeb_triggered() |