diff --git a/src/mirall/discoveryphase.cpp b/src/mirall/discoveryphase.cpp index d72a0848a8..9a4a46219b 100644 --- a/src/mirall/discoveryphase.cpp +++ b/src/mirall/discoveryphase.cpp @@ -43,7 +43,7 @@ bool DiscoveryJob::isInBlackList(const QString& path) const return false; } --it; - Q_ASSERT(*it.endsWith(QLatin1Char('/'))); // SyncEngine::setSelectiveSyncBlackList makes sure of that + Q_ASSERT(it->endsWith(QLatin1Char('/'))); // SyncEngine::setSelectiveSyncBlackList makes sure of that if (pathSlash.startsWith(*it)) { return true; }