Fix build

How did that happen? I run the autotest...
This commit is contained in:
Martin Gräßlin 2015-11-10 15:07:44 +01:00
parent 67c45c1a4b
commit 5fe6365faa

View file

@ -209,7 +209,7 @@ void TestWaylandConnectionThread::testConnectFd()
using namespace KWayland::Server;
int sv[2];
QVERIFY(socketpair(AF_UNIX, SOCK_STREAM, 0, sv) >= 0);
auto c = m_display->createClient(sv[0])
auto c = m_display->createClient(sv[0]);
QVERIFY(c);
QSignalSpy disconnectedSpy(c, &ClientConnection::disconnected);
QVERIFY(disconnectedSpy.isValid());