Browse Source

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

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
fdaeafc701
  1. 2
      src/FeedDownloader.h

2
src/FeedDownloader.h

@ -466,7 +466,7 @@ protected slots: @@ -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…
Cancel
Save