Add a Registry::create overload taking the ConnectionThread object
This means we don't need to pass the wl_display* around.
This commit is contained in:
parent
cdd2ab9b78
commit
4d70ace4df
1 changed files with 1 additions and 1 deletions
|
@ -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)); \
|
||||
|
|
Loading…
Reference in a new issue