fix: warnings when compiling with Qt 6.10 (#6422)
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ void createRunningFile(const QString &path)
|
||||
{
|
||||
QFile runningFile(path);
|
||||
|
||||
runningFile.open(QIODevice::WriteOnly | QIODevice::Truncate);
|
||||
std::ignore = runningFile.open(QIODevice::WriteOnly | QIODevice::Truncate);
|
||||
runningFile.flush();
|
||||
runningFile.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user