Made QTemporaryDir object static const

This commit is contained in:
Klaus Basan
2017-12-18 20:36:12 +01:00
parent 5bb0025d4a
commit 6701266a66

View File

@@ -592,7 +592,7 @@ namespace BlackCore
QString CApplication::getTemporaryDirectory() const
{
static QTemporaryDir tempDir;
static const QTemporaryDir tempDir;
if (tempDir.isValid()) { return tempDir.path(); }
return QDir::tempPath();
}