Commit 421ddfee authored by Alexander Trufanov's avatar Alexander Trufanov
Browse files

Use mkpath() if ~/.local/share/ktorrent/ doesn't exist

To avoid problems at launch if whole ~/.local/ folder was removed
parent ed63f28f
......@@ -56,7 +56,7 @@ QString DataDir(CreationMode mode)
if (ktorrent4DataFolder.isEmpty() || !QFile::rename(ktorrent4DataFolder, dataDirPath))
// if (!str.endsWith(bt::DirSeparator()))
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