outputconfiguration: No need to cast, q already is the right type

This commit is contained in:
Aleix Pol 2021-10-21 23:44:11 +02:00
parent dff485f13b
commit 01645645a7

View file

@ -168,8 +168,7 @@ void OutputConfigurationV2InterfacePrivate::kde_output_configuration_v2_destroy_
void OutputConfigurationV2InterfacePrivate::emitConfigurationChangeRequested() const
{
auto configinterface = reinterpret_cast<OutputConfigurationV2Interface *>(q);
Q_EMIT outputManagement->configurationChangeRequested(configinterface);
Q_EMIT outputManagement->configurationChangeRequested(q);
}
OutputConfigurationV2InterfacePrivate::OutputConfigurationV2InterfacePrivate(OutputConfigurationV2Interface *q, OutputManagementV2Interface *outputManagement, wl_resource *resource)