1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

- Fixed overwriting confirmation -> should have 'Yes/No' buttons, not 'Ok'

This commit is contained in:
Christophe Dumez 2009-08-22 13:44:05 +00:00
parent 9ca4e2f1f6
commit fdaeafc701

View File

@ -466,7 +466,7 @@ protected slots:
if(!destination.endsWith(".filters"))
destination += ".filters";
if(QFile::exists(destination)) {
int ret = QMessageBox::question(0, tr("Overwriting confirmation"), tr("Are you sure you want to overwrite existing file?"));
int ret = QMessageBox::question(0, tr("Overwriting confirmation"), tr("Are you sure you want to overwrite existing file?"), QMessageBox::Yes|QMessageBox::No);
if(ret != QMessageBox::Yes) return;
}
if(filters.serialize(destination))