Skip to content

Commit 5df429a

Browse files
committed
fix error: converting to ‘QFile’ from initializer
1 parent 601435c commit 5df429a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nfc-app/app-qt/src/main/cpp/QtApplication.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ QFile QtApplication::tempFile(const QString &fileName)
277277
if (!tempPath.exists())
278278
tempPath.mkpath(".");
279279

280-
return {tempPath.absoluteFilePath(fileName)};
280+
return QFile(tempPath.absoluteFilePath(fileName));
281281
}
282282

283283
void QtApplication::customEvent(QEvent *event)

0 commit comments

Comments
 (0)