diff --git a/libinput/connection.cpp b/libinput/connection.cpp index ac06616cd3..d948c1c5a3 100644 --- a/libinput/connection.cpp +++ b/libinput/connection.cpp @@ -36,7 +36,11 @@ Connection *Connection::s_self = nullptr; static Context *s_context = nullptr; -Connection::Connection(QObject *parent) = delete; +Connection::Connection(QObject *parent) + : Connection(nullptr, parent) +{ + // only here to fix build, using will crash, BUG 343529 +} Connection *Connection::create(QObject *parent) {