[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim] importwizard/sylpheed: Search accountrc file
From: Montel Laurent <montel () kde ! org>
Date: 2012-02-29 21:51:22
Message-ID: 20120229215122.D5D7AA60A9 () git ! kde ! org
[Download RAW message or body]
Git commit 00ae03931e399c3bdec7761327180f86c0367f0f by Montel Laurent.
Committed on 29/02/2012 at 22:51.
Pushed by mlaurent into branch 'master'.
Search accountrc file
M +4 -0 importwizard/sylpheed/sylpheedimportdata.cpp
http://commits.kde.org/kdepim/00ae03931e399c3bdec7761327180f86c0367f0f
diff --git a/importwizard/sylpheed/sylpheedimportdata.cpp b/importwizard/sylpheed/sylpheedimportdata.cpp
index 478041e..df61aec 100644
--- a/importwizard/sylpheed/sylpheedimportdata.cpp
+++ b/importwizard/sylpheed/sylpheedimportdata.cpp
@@ -87,6 +87,10 @@ QString SylpheedImportData::name() const
bool SylpheedImportData::importSettings()
{
+ const QString accountFile = mPath + QLatin1String("/accountrc");
+ if ( QFile( accountFile ).exists() ) {
+ return true;
+ }
return false;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic