Commit f2687e5f authored by Igor Kushnir's avatar Igor Kushnir Committed by Milian Wolff
Browse files

Don't create data directory twice in a row

ItemRepositoryRegistryPrivate's constructor creates the directory at
m_path in the next statement after the call to deleteDataDirectory().
Pass recreate = false to that function so as not to create the same
directory twice.
parent fbe7067b
......@@ -267,7 +267,7 @@ ItemRepositoryRegistryPrivate::ItemRepositoryRegistryPrivate(ItemRepositoryRegis
// Check if the repository shall be cleared
if (shouldClear(path)) {
qCWarning(SERIALIZATION) << QStringLiteral("The data-repository at %1 has to be cleared.").arg(path);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment