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:
parent
9ca4e2f1f6
commit
fdaeafc701
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user