[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: proko2: kdepim/kresources/kolab/shared
From: David Faure <faure () kde ! org>
Date: 2004-08-12 21:57:43
Message-ID: 20040812215743.BB08590F4 () office ! kde ! org
[Download RAW message or body]
CVS commit by faure:
We really need to tell the user when saving is going to fail!
KAddressbook (KABLock::unlock, and its caller KABCore::slotEditorDestroyed)
simply ignore the return value of save(), so when saving fails, it fails silently...
Testcase: delete dimap account that holds the groupware folders.
M +2 -0 resourcekolabbase.cpp 1.1.2.15
--- kdepim/kresources/kolab/shared/resourcekolabbase.cpp #1.1.2.14:1.1.2.15
@@ -40,4 +40,5 @@
#include <kurl.h>
#include <ktempfile.h>
+#include <kmessagebox.h>
#include <qtextstream.h>
#include <kdebug.h>
@@ -153,4 +154,5 @@ QString ResourceKolabBase::findWritableR
if ( possible.isEmpty() ) { // None found!!
kdWarning(5650) << "No writable resource found!" << endl;
+ KMessageBox::error( 0, i18n( "No writable resource was found, saving will not be \
possible. Reconfigure KMail first." ) ); return QString::null;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic