Unverified Commit 36cbbf74 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Fix debug output for base directory detection

The heuristicBaseDirectory is the important information
here and not the m_workDir because m_workDir->path is
always empty in case it is invalid.
parent 87d8b00d
......@@ -431,7 +431,7 @@ std::vector< std::shared_ptr<Task> > AutoDecryptVerifyFilesController::Private::
m_workDir = std::make_unique<QTemporaryDir>(heuristicBaseDirectory(fileNames) + QStringLiteral("/kleopatra-XXXXXX"));
if (!m_workDir->isValid()) {
qCDebug(KLEOPATRA_LOG) << m_workDir->path() << "not a valid temporary directory.";
qCDebug(KLEOPATRA_LOG) << heuristicBaseDirectory(fileNames) << "not a valid temporary directory.";
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