From 4d70ace4dfcebad1b0a40a8fac89596a4739d4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 19 Sep 2014 09:52:50 +0200 Subject: [PATCH] Add a Registry::create overload taking the ConnectionThread object This means we don't need to pass the wl_display* around. --- src/wayland/autotests/client/test_wayland_registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/autotests/client/test_wayland_registry.cpp b/src/wayland/autotests/client/test_wayland_registry.cpp index c9d9e25a20..d477b002ef 100644 --- a/src/wayland/autotests/client/test_wayland_registry.cpp +++ b/src/wayland/autotests/client/test_wayland_registry.cpp @@ -117,7 +117,7 @@ void TestWaylandRegistry::testCreate() QVERIFY(!registry.bindMethod(0, 0)); \ \ QVERIFY(!registry.isValid()); \ - registry.create(connection.display()); \ + registry.create(&connection); \ QVERIFY(registry.isValid()); \ /* created but not yet connected still results in no bind */ \ QVERIFY(!registry.bindMethod(0, 0)); \