[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/kioslave/ldap
From:       Szombathelyi György <gyurco () freemail ! hu>
Date:       2006-01-28 19:11:55
Message-ID: 1138475515.624431.31248.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 503312 by gyurco:

It's an overkill, this Url only has protocol://hostname


 M  +1 -3      kio_ldap.cpp  


--- trunk/KDE/kdebase/kioslave/ldap/kio_ldap.cpp #503311:503312
@@ -12,8 +12,6 @@
 #include <kinstance.h>
 #include <klocale.h>
 
-#include <QTextDocument>
-
 #ifdef HAVE_SASL_SASL_H //prefer libsasl2
 #include <sasl/sasl.h>
 #else
@@ -591,7 +589,7 @@
 ///////////////////////////////////////////////////////////////////////////
   kdDebug(7125) << "OpenConnection to " << mHost << ":" << mPort << endl;
 
-  ret = ldap_initialize( &mLDAP, Qt::escape(Url.prettyURL()).toUtf8() );
+  ret = ldap_initialize( &mLDAP, Url.url().toLatin1() );
   if ( ret != LDAP_SUCCESS ) {
     LDAPErr( Url, ret );
     return;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic