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

List:       kde-commits
Subject:    KDE/kdepim/libkleo/ui
From:       Guy Maurel <guy-kde () maurel ! de>
Date:       2009-11-15 14:46:42
Message-ID: 1258296402.628681.25919.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1049603 by guymaurel:

removed the unused local functions "strings2urls" and "urls2strings"

 M  +0 -15     cryptoconfigmodule.cpp  


--- trunk/KDE/kdepim/libkleo/ui/cryptoconfigmodule.cpp #1049602:1049603
@@ -841,21 +841,6 @@
   connect( mPushButton, SIGNAL( clicked() ), SLOT( slotOpenDialog() ) );
 }
 
-static KUrl::List strings2urls( const QStringList & strs ) {
-    KUrl::List urls;
-    Q_FOREACH( const QString & str, strs )
-        if ( !str.isEmpty() )
-            urls.push_back( KUrl( str ) );
-    return urls;
-}
-
-static QStringList urls2strings( const KUrl::List & urls ) {
-    QStringList result;
-    Q_FOREACH( const KUrl & url, urls )
-        result.push_back( url.url() );
-    return result;
-}
-
 void Kleo::CryptoConfigEntryLDAPURL::doLoad()
 {
   setURLList( mEntry->urlValueList() );
[prev in list] [next in list] [prev in thread] [next in thread] 

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