--- a/src/partdownloader.cpp Thu Feb 23 19:33:56 2017 +0200 +++ b/src/partdownloader.cpp Thu Feb 23 19:56:21 2017 +0200 @@ -193,7 +193,9 @@ if (QFile::exists(downloadPath() + DIRSLASH + destination)) { QString message = format(tr("%1 already exists in download directory. Overwrite?"), destination); - if (not Confirm(tr("Overwrite?"), message)) + int answer = QMessageBox::question(this, tr("Overwrite"), message, (QMessageBox::Yes | QMessageBox::No), QMessageBox::No); + + if (answer != QMessageBox::Yes) return; }