[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/kldap
From: Laurent Montel <montel () kde ! org>
Date: 2009-04-09 10:58:58
Message-ID: 1239274738.295989.32372.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 951440 by mlaurent:
Add a message when we can't connect to server.
It's not perfect but better that a sorry messagebox without messages.
M +4 -1 ldapsearch.cpp
--- trunk/KDE/kdepimlibs/kldap/ldapsearch.cpp #951439:951440
@@ -26,7 +26,7 @@
#include <QtCore/QTimer>
#include <kdebug.h>
-
+#include <KLocale>
using namespace KLDAP;
//blocking the GUI for xxx milliseconds
@@ -230,6 +230,9 @@
} else {
mError = mConn->ldapErrorCode();
mErrorString = mConn->ldapErrorString();
+ if ( mError == -1 && mErrorString.isEmpty()) {
+ mErrorString = i18n( "Can not access to server. Reconfigure it please." );
+ }
}
return false;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic