From 28e10a45687ecadea3a30fabbd57d088edd7efea Mon Sep 17 00:00:00 2001 From: Till Adam Date: Sat, 31 Mar 2012 14:05:44 +0200 Subject: [PATCH] Fix the build and constify. --- importwizard/evolutionv3/evolutionsettings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/importwizard/evolutionv3/evolutionsettings.cpp b/importwizard/evolutionv3/evolutionsettings.cpp index 7f4ce0c53c..b1cf86153a 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) { -- 2.11.4.GIT