diff options
author | Katja Marttila <katja.marttila@qt.io> | 2022-11-17 08:23:16 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2022-11-17 09:40:00 +0200 |
commit | c24f8d5e4e50e28d26fd7154226730db4395e595 (patch) | |
tree | 7bfe539ac88046bcd1853138a1fc473c9d82f052 /src/sdk/installerbase.cpp | |
parent | 85adc0493b521b969c76767b6b87b9deaa650c8f (diff) |
Print to log if squish port attaching succeeded
Squich::allowAttaching returns true if the attach succeeded, printing
the return value to log.
Change-Id: Ib960d9c948857824a777d2852eb70dfb30286de7
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'src/sdk/installerbase.cpp')
-rw-r--r-- | src/sdk/installerbase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdk/installerbase.cpp b/src/sdk/installerbase.cpp index dcbf15228..20a4f312b 100644 --- a/src/sdk/installerbase.cpp +++ b/src/sdk/installerbase.cpp @@ -104,8 +104,8 @@ int InstallerBase::run() if (squishPort <= 0 || squishPort > maxSquishPortNumber) { qWarning().noquote() << "Invalid Squish port:" << squishPort; } else { - Squish::allowAttaching(squishPort); - qCDebug(QInstaller::lcDeveloperBuild) << "Attaching to squish port" << squishPort << "succeeded"; + bool attachSucceeded = Squish::allowAttaching(squishPort); + qCDebug(QInstaller::lcDeveloperBuild) << "Attach to squish port" << squishPort << "succeeded: "<<attachSucceeded; } } #endif |