Skip to content

Commit

Permalink
clang-format changed QtTestDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
kreuzberger authored and ursfassler committed Aug 1, 2024
1 parent c4143f9 commit a8bdfab
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/drivers/QtTestDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ namespace internal {
class TemporaryFileWrapper {
public:
static TemporaryFileWrapper create() {
QTemporaryFile tempFile(
QString("%1/%2_%3")
.arg(
QDir::tempPath(),
qApp->applicationName().isEmpty() ? "qt_temp"
: qApp->applicationName()
)
.arg(qApp->applicationPid())
);
QTemporaryFile tempFile(QString("%1/%2_%3")
.arg(
QDir::tempPath(),
qApp->applicationName().isEmpty() ? "qt_temp"
: qApp->applicationName()
)
.arg(qApp->applicationPid()));

if (!tempFile.open()) {
return {};
Expand Down

0 comments on commit a8bdfab

Please sign in to comment.