We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4143f9 commit a8bdfabCopy full SHA for a8bdfab
src/drivers/QtTestDriver.cpp
@@ -15,15 +15,13 @@ namespace internal {
15
class TemporaryFileWrapper {
16
public:
17
static TemporaryFileWrapper create() {
18
- QTemporaryFile tempFile(
19
- QString("%1/%2_%3")
20
- .arg(
21
- QDir::tempPath(),
22
- qApp->applicationName().isEmpty() ? "qt_temp"
23
- : qApp->applicationName()
24
- )
25
- .arg(qApp->applicationPid())
26
- );
+ QTemporaryFile tempFile(QString("%1/%2_%3")
+ .arg(
+ QDir::tempPath(),
+ qApp->applicationName().isEmpty() ? "qt_temp"
+ : qApp->applicationName()
+ )
+ .arg(qApp->applicationPid()));
27
28
if (!tempFile.open()) {
29
return {};
0 commit comments