mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Made QTemporaryDir object static const
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user