From 62c3758bd1997b272be8d27533967ee716b6c483 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 16 Nov 2023 08:38:46 +0100 Subject: [PATCH] Derive interface from QObject (to enable usage of qobject_cast) and UnifiedDCVMCInterface. --- src/ATBAPP/DeviceControllerInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ATBAPP/DeviceControllerInterface.h b/src/ATBAPP/DeviceControllerInterface.h index bba8977..895b474 100644 --- a/src/ATBAPP/DeviceControllerInterface.h +++ b/src/ATBAPP/DeviceControllerInterface.h @@ -16,7 +16,7 @@ namespace nsDeviceControllerInterface { using TICKET_VARIANT = ATBAPPplugin::TICKET_VARIANT; } -class DeviceControllerInterface : public UnifiedDCVMCInterface +class DeviceControllerInterface : public QObject, public UnifiedDCVMCInterface { Q_OBJECT Q_INTERFACES(ATBAPPplugin)