Fix build with clang and gcc 5.0

BUG: 343529
FIXED-IN: 5.2.1
This commit is contained in:
Martin Gräßlin 2015-02-03 14:01:53 +01:00
parent 62d71bc247
commit 11fd9f69c1

View file

@ -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)
{