forked from qt-creator/qt-creator
Qnx: Code cosmetics
Qt 5 connects, namespaces, ... Change-Id: I887f75627e4ff53f6c5bde20456b809d8f2ad463 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -133,8 +133,8 @@ void QnxDeviceConfiguration::updateVersionNumber() const
|
||||
{
|
||||
QEventLoop eventLoop;
|
||||
SshDeviceProcess versionNumberProcess(sharedFromThis());
|
||||
QObject::connect(&versionNumberProcess, SIGNAL(finished()), &eventLoop, SLOT(quit()));
|
||||
QObject::connect(&versionNumberProcess, SIGNAL(error(QProcess::ProcessError)), &eventLoop, SLOT(quit()));
|
||||
QObject::connect(&versionNumberProcess, &SshDeviceProcess::finished, &eventLoop, &QEventLoop::quit);
|
||||
QObject::connect(&versionNumberProcess, &DeviceProcess::error, &eventLoop, &QEventLoop::quit);
|
||||
|
||||
StandardRunnable r;
|
||||
r.executable = QLatin1String("uname");
|
||||
|
||||
Reference in New Issue
Block a user