summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-07-17 13:32:53 +0200
committerAl12rs <gabriel.cortesi@outlook.com>2018-07-17 13:32:53 +0200
commit75478f68a12c89af790ba2aae127d4834c6d44a5 (patch)
treeb1324288804e104f68d6067da167e929de89fac5 /src/mainwindow.cpp
parent5a0b8b431c3ffd5de2f4359492854310da32405e (diff)
Avoid asking users if they are sure they want to close of all downlaods are paused.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index f70e66a6..5999608c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -883,7 +883,7 @@ void MainWindow::closeEvent(QCloseEvent* event)
{
m_closing = true;
- if (m_OrganizerCore.downloadManager()->downloadsInProgress()) {
+ if (m_OrganizerCore.downloadManager()->downloadsInProgressNoPause()) {
if (QMessageBox::question(this, tr("Downloads in progress"),
tr("There are still downloads in progress, do you really want to quit?"),
QMessageBox::Yes | QMessageBox::Cancel) == QMessageBox::Cancel) {