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

List:       kde-commits
Subject:    [kdepim] importwizard/evolutionv3: Fix the build and constify.
From:       Till Adam <adam () kde ! org>
Date:       2012-03-31 12:05:55
Message-ID: 20120331120555.982FDA60A9 () git ! kde ! org
[Download RAW message or body]

Git commit 28e10a45687ecadea3a30fabbd57d088edd7efea by Till Adam.
Committed on 31/03/2012 at 14:05.
Pushed by tilladam into branch 'master'.

Fix the build and constify.

M  +3    -3    importwizard/evolutionv3/evolutionsettings.cpp

http://commits.kde.org/kdepim/28e10a45687ecadea3a30fabbd57d088edd7efea

diff --git a/importwizard/evolutionv3/evolutionsettings.cpp \
b/importwizard/evolutionv3/evolutionsettings.cpp index 7f4ce0c..b1cf861 100644
--- a/importwizard/evolutionv3/evolutionsettings.cpp
+++ b/importwizard/evolutionv3/evolutionsettings.cpp
@@ -242,7 +242,7 @@ void EvolutionSettings::extractAccountInfo(const QString& info)
 
           const QString path = serverUrl.path();
           bool found = false;
-          QString securityMethod = getSecurityMethod( path, found );
+          const QString securityMethod = getSecurityMethod( path, found );
           if( found ) {
             if( securityMethod == QLatin1String("none")) {
 
@@ -329,7 +329,7 @@ void EvolutionSettings::extractAccountInfo(const QString& info)
 
             const QString path = smtpUrl.path();
             found = false;
-            QString securityMethod = ( path, found );
+            const QString securityMethod = getSecurityMethod( path, found );
             if( found ) {
               if( securityMethod == QLatin1String("none")) {
                 transport->setEncryption( \
MailTransport::Transport::EnumEncryption::None ); @@ -399,7 +399,7 @@ void \
EvolutionSettings::extractAccountInfo(const QString& info)  \
storeIdentity(newIdentity);  }
 
-QString EvolutionSettings::( const QString& path, bool & found )
+QString EvolutionSettings::getSecurityMethod( const QString& path, bool & found )
 {
   const int index = path.indexOf(QLatin1String("security-method="));
   if(index != -1) {


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

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