From 212f79ac5305c32d0752cc358c2636df0bc7e523 Mon Sep 17 00:00:00 2001 From: tille Date: Thu, 12 Jun 2003 16:27:32 +0000 Subject: fix delete account --- diff --git a/noncore/settings/networksettings/ppp/accounts.cpp b/noncore/settings/networksettings/ppp/accounts.cpp index 04905e8..fa1c43b 100644 --- a/noncore/settings/networksettings/ppp/accounts.cpp +++ b/noncore/settings/networksettings/ppp/accounts.cpp @@ -182,7 +182,9 @@ void AccountWidget::deleteaccount() { QString s = tr("Are you sure you want to delete\nthe account \"%1\"?") .arg(accountlist_l->text(accountlist_l->currentItem())); - if(QMessageBox::warning(this, s, tr("Confirm")) != QMessageBox::Yes) + if(QMessageBox::warning(this,tr("Confirm"),s, + QMessageBox::Yes,QMessageBox::No + ) != QMessageBox::Yes) return; if(_pppdata->deleteAccount(accountlist_l->text(accountlist_l->currentItem()))) -- cgit v0.9.0.2