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
f552ba47
Commit
f552ba47
authored
Nov 04, 2018
by
Laurent Montel
Browse files
normalize signal/slot
parent
8079a195
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/wayland/autotests/client/test_plasma_virtual_desktop.cpp
View file @
f552ba47
...
...
@@ -151,7 +151,7 @@ void TestVirtualDesktop::init()
QVERIFY
(
windowManagementSpy
.
wait
());
m_windowManagement
=
registry
.
createPlasmaWindowManagement
(
windowManagementSpy
.
first
().
first
().
value
<
quint32
>
(),
windowManagementSpy
.
first
().
last
().
value
<
quint32
>
(),
this
);
QSignalSpy
windowSpy
(
m_windowManagement
,
SIGNAL
(
windowCreated
(
KWayland
::
Client
::
PlasmaWindow
*
)));
QSignalSpy
windowSpy
(
m_windowManagement
,
SIGNAL
(
windowCreated
(
KWayland
::
Client
::
PlasmaWindow
*
)));
QVERIFY
(
windowSpy
.
isValid
());
m_windowInterface
=
m_windowManagementInterface
->
createWindow
(
this
);
m_windowInterface
->
setPid
(
1337
);
...
...
src/wayland/autotests/client/test_wayland_windowmanagement.cpp
View file @
f552ba47
...
...
@@ -159,7 +159,7 @@ void TestWindowManagement::init()
QVERIFY
(
windowManagementSpy
.
wait
());
m_windowManagement
=
m_registry
->
createPlasmaWindowManagement
(
windowManagementSpy
.
first
().
first
().
value
<
quint32
>
(),
windowManagementSpy
.
first
().
last
().
value
<
quint32
>
(),
this
);
QSignalSpy
windowSpy
(
m_windowManagement
,
SIGNAL
(
windowCreated
(
KWayland
::
Client
::
PlasmaWindow
*
)));
QSignalSpy
windowSpy
(
m_windowManagement
,
SIGNAL
(
windowCreated
(
KWayland
::
Client
::
PlasmaWindow
*
)));
QVERIFY
(
windowSpy
.
isValid
());
m_windowInterface
=
m_windowManagementInterface
->
createWindow
(
this
);
m_windowInterface
->
setPid
(
1337
);
...
...
@@ -637,7 +637,7 @@ void TestWindowManagement::testPid()
//test server not setting a PID for whatever reason
QScopedPointer
<
KWayland
::
Server
::
PlasmaWindowInterface
>
newWindowInterface
(
m_windowManagementInterface
->
createWindow
(
this
));
QSignalSpy
windowSpy
(
m_windowManagement
,
SIGNAL
(
windowCreated
(
KWayland
::
Client
::
PlasmaWindow
*
)));
QSignalSpy
windowSpy
(
m_windowManagement
,
SIGNAL
(
windowCreated
(
KWayland
::
Client
::
PlasmaWindow
*
)));
QVERIFY
(
windowSpy
.
wait
());
QScopedPointer
<
PlasmaWindow
>
newWindow
(
windowSpy
.
first
().
first
().
value
<
KWayland
::
Client
::
PlasmaWindow
*>
());
QVERIFY
(
newWindow
);
...
...
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