Commit 824af4ff authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

tablet: call destroy on the destructor

Somehow it isn't automatically generated in.

BUG: 458793
parent 7b3479a2
Pipeline #231370 passed with stage
in 2 minutes and 43 seconds
......@@ -21,6 +21,11 @@ public:
{
}
~TabletPad()
{
destroy();
}
void zwp_tablet_pad_v2_path(const QString &path) override
{
m_path = path;
......@@ -56,6 +61,11 @@ public:
{
}
~Tool()
{
destroy();
}
void zwp_tablet_tool_v2_hardware_serial(uint32_t hardware_serial_hi, uint32_t hardware_serial_lo) override
{
m_hardware_serial_hi = hardware_serial_hi;
......@@ -89,6 +99,11 @@ public:
Q_ASSERT(isInitialized());
}
~TabletManager()
{
destroy();
}
TabletEvents *const q;
};
......@@ -102,6 +117,11 @@ public:
{
}
~TabletSeat()
{
destroy();
}
void zwp_tablet_seat_v2_tool_added(struct ::zwp_tablet_tool_v2 *id) override
{
new Tool(m_events, id);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment