Commit 495b6230 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix view differences

fileName() already returns the full file name
including the path for QTemporaryFile

BUG: 441120
parent bc6c1a93
Pipeline #84752 passed with stage
in 6 minutes and 29 seconds
......@@ -341,7 +341,7 @@ void KateMwModOnHdDialog::slotPDone()
}
m_diffFile->setAutoRemove(false);
QUrl url = QUrl::fromLocalFile(QDir::tempPath() + QLatin1Char('/') + m_diffFile->fileName());
const QUrl url = QUrl::fromLocalFile(m_diffFile->fileName());
delete m_diffFile;
m_diffFile = nullptr;
......
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