Commit 66055960 authored by Kurt Hindenburg's avatar Kurt Hindenburg

Force Qt5 to use named qtemporary files

Recent Qt5 versions use unnamed temporary files by default when
available; force to use named files.  Any type of scroll/history
debugging w/o named files is a waste of time.
parent 47f475d5
......@@ -112,6 +112,11 @@ HistoryFile::HistoryFile() :
if (_tmpFile.open()) {
_tmpFile.setAutoRemove(true);
}
// Force Qt to use named files so I don't waste hours trying to find
// these files again. Perhaps investigate if there are any downsides
// to doing this.
// https://bugreports.qt.io/browse/QTBUG-66577
Q_UNUSED(_tmpFile.fileName());
}
HistoryFile::~HistoryFile()
......
Markdown is supported
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