summaryrefslogtreecommitdiff
path: root/migrationutility/migrateuserjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'migrationutility/migrateuserjob.cpp')
-rw-r--r--migrationutility/migrateuserjob.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/migrationutility/migrateuserjob.cpp b/migrationutility/migrateuserjob.cpp
index 43dd587..3b894a9 100644
--- a/migrationutility/migrateuserjob.cpp
+++ b/migrationutility/migrateuserjob.cpp
@@ -137,8 +137,7 @@ void MigrateUserJob::onFolderMigrated(KJob *job)
bool MigrateUserJob::isIgnored(const QString &sourceFolder) const
{
foreach (const QString &ignoredFolder, mCurrentSourceAccount->ignoredFolders()) {
- const QRegExp reg(ignoredFolder, Qt::CaseSensitive, QRegExp::RegExp2);
- if (reg.exactMatch(sourceFolder)) {
+ if (sourceFolder.contains(ignoredFolder)) {
return true;
}
}