summaryrefslogtreecommitdiffstats
path: root/pica-client/dialogs/filetransferdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/dialogs/filetransferdialog.cpp')
-rw-r--r--pica-client/dialogs/filetransferdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/pica-client/dialogs/filetransferdialog.cpp b/pica-client/dialogs/filetransferdialog.cpp
index 4643bb8..d733d0d 100644
--- a/pica-client/dialogs/filetransferdialog.cpp
+++ b/pica-client/dialogs/filetransferdialog.cpp
@@ -79,6 +79,9 @@ void FileTransferDialog::update(quint64 progress)
{
leftbutton->setEnabled(false);
rightbutton->setEnabled(false);
+
+ QWidget::setAttribute(Qt::WA_DeleteOnClose);
+ QWidget::setAttribute(Qt::WA_QuitOnClose, false);
}
}