From 7e331a2055902bfc0fa9deb2e20cdea2b5d12ba3 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 10 Oct 2023 01:26:47 +0200 Subject: [PATCH] DeviceManager: Fix creating connected device --- src/device/devicemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/devicemanager.cpp b/src/device/devicemanager.cpp index 0a0535185..592c520eb 100644 --- a/src/device/devicemanager.cpp +++ b/src/device/devicemanager.cpp @@ -638,7 +638,7 @@ SharedPtr DeviceManager::Connect(DeviceInfo *info) { Q_ARG(QUrl, device_url), Q_ARG(DeviceLister*, info->BestBackend()->lister_), Q_ARG(QString, info->BestBackend()->unique_id_), - Q_ARG(DeviceManager*, this), + Q_ARG(SharedPtr, app_->device_manager()), Q_ARG(Application*, app_), Q_ARG(int, info->database_id_), Q_ARG(bool, first_time));