Improved "delete torrents once they reach a given ratio"

Fix button order in exit confirmation dialog
This commit is contained in:
Christophe Dumez
2010-06-22 17:50:36 +00:00
parent 5a58ace305
commit 0de843911d
4 changed files with 4 additions and 5 deletions

View File

@@ -541,8 +541,7 @@ void GUI::closeEvent(QCloseEvent *e) {
if(QMessageBox::question(this,
tr("Are you sure you want to quit?")+QString::fromUtf8(" -- ")+tr("qBittorrent"),
tr("Some files are currently transferring.\nAre you sure you want to quit qBittorrent?"),
tr("&Yes"), tr("&No"),
QString(), 0, 1)) {
QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes) == QMessageBox::No) {
e->ignore();
force_exit = false;
return;