[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/kwallet
From: George Staikos <staikos () kde ! org>
Date: 2004-11-22 22:16:28
Message-ID: 20041122221628.95E0D16E26 () office ! kde ! org
[Download RAW message or body]
CVS commit by staikos:
busted by implicit cast bool->int
M +3 -3 kwalleteditor.cpp 1.53
--- kdeutils/kwallet/kwalleteditor.cpp #1.52:1.53
@@ -255,7 +255,7 @@ void KWalletEditor::deleteFolder() {
int rc = KMessageBox::warningContinueCancel(this, i18n("Are \
you sure you wish to delete the folder '%1' from the \
wallet?").arg(_folderView->currentItem()->text()),"",KStdGuiItem::del()); if (rc == \
KMessageBox::Continue) {
- int rc = _w->removeFolder(ivi->text());
- if (rc != 0) {
- KMessageBox::sorry(this, i18n("Error \
deleting folder. Error code=%1").arg(rc)); + bool rc \
= _w->removeFolder(ivi->text()); + if (!rc) {
+ KMessageBox::sorry(this, i18n("Error \
deleting folder.")); return;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic