diff --git a/src/wayland/outputconfiguration_v2_interface.cpp b/src/wayland/outputconfiguration_v2_interface.cpp index 96a7cb04ed..4cb24d1bd3 100644 --- a/src/wayland/outputconfiguration_v2_interface.cpp +++ b/src/wayland/outputconfiguration_v2_interface.cpp @@ -168,8 +168,7 @@ void OutputConfigurationV2InterfacePrivate::kde_output_configuration_v2_destroy_ void OutputConfigurationV2InterfacePrivate::emitConfigurationChangeRequested() const { - auto configinterface = reinterpret_cast(q); - Q_EMIT outputManagement->configurationChangeRequested(configinterface); + Q_EMIT outputManagement->configurationChangeRequested(q); } OutputConfigurationV2InterfacePrivate::OutputConfigurationV2InterfacePrivate(OutputConfigurationV2Interface *q, OutputManagementV2Interface *outputManagement, wl_resource *resource)