Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
29b8d0f2
Commit
29b8d0f2
authored
Sep 13, 2018
by
Kevin Funk
☕
Browse files
Minor: Add a few nullptrs
parent
32d4edff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/autotests/client/test_wayland_registry.cpp
View file @
29b8d0f2
...
...
@@ -641,7 +641,7 @@ void TestWaylandRegistry::testOutOfSyncRemoval()
QVERIFY
(
blurRemovedSpy
.
count
()
==
0
);
//use the in the client
blurManager
->
createBlur
(
surface
.
data
(),
0
);
blurManager
->
createBlur
(
surface
.
data
(),
nullptr
);
//now process events,
QVERIFY
(
blurRemovedSpy
.
wait
());
...
...
@@ -656,7 +656,7 @@ void TestWaylandRegistry::testOutOfSyncRemoval()
QVERIFY
(
contrastRemovedSpy
.
count
()
==
0
);
//use the in the client
contrastManager
->
createContrast
(
surface
.
data
(),
0
);
contrastManager
->
createContrast
(
surface
.
data
(),
nullptr
);
//now process events,
QVERIFY
(
contrastRemovedSpy
.
wait
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment