Blob Blame History Raw
diff -rupN qt-creator-opensource-src-13.0.0-beta2/src/plugins/projectexplorer/runcontrol.cpp qt-creator-opensource-src-13.0.0-beta2-new/src/plugins/projectexplorer/runcontrol.cpp
--- qt-creator-opensource-src-13.0.0-beta2/src/plugins/projectexplorer/runcontrol.cpp	2024-02-28 05:02:14.000000000 +0100
+++ qt-creator-opensource-src-13.0.0-beta2-new/src/plugins/projectexplorer/runcontrol.cpp	2024-03-04 10:41:53.568863067 +0100
@@ -418,7 +418,7 @@ void RunControl::setDevice(const IDevice
     QTC_CHECK(!d->device);
     d->device = device;
 #ifdef WITH_JOURNALD
-    if (!device.isNull() && device->type() == ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE) {
+    if (!device && device->type() == ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE) {
         JournaldWatcher::instance()->subscribe(this, [this](const JournaldWatcher::LogEntry &entry) {
 
             if (entry.value("_MACHINE_ID") != JournaldWatcher::instance()->machineId())