Skip to content
GitLab
Menu
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
9fe53ee0
Commit
9fe53ee0
authored
Apr 23, 2021
by
Vlad Zahorodnii
Browse files
autotests: Fix DontCrashCursorPhysicalSizeEmpty
parent
6276c888
Changes
1
Hide whitespace changes
Inline
Side-by-side
autotests/integration/dont_crash_cursor_physical_size_empty.cpp
View file @
9fe53ee0
...
...
@@ -59,6 +59,7 @@ void DontCrashCursorPhysicalSizeEmpty::initTestCase()
QVERIFY
(
applicationStartedSpy
.
isValid
());
kwinApp
()
->
platform
()
->
setInitialWindowSize
(
QSize
(
1280
,
1024
));
QVERIFY
(
waylandServer
()
->
init
(
s_socketName
));
QMetaObject
::
invokeMethod
(
kwinApp
()
->
platform
(),
"setVirtualOutputs"
,
Qt
::
DirectConnection
,
Q_ARG
(
int
,
2
));
if
(
!
QStandardPaths
::
locateAll
(
QStandardPaths
::
GenericDataLocation
,
QStringLiteral
(
"icons/DMZ-White/index.theme"
)).
isEmpty
())
{
qputenv
(
"XCURSOR_THEME"
,
QByteArrayLiteral
(
"DMZ-White"
));
...
...
@@ -70,6 +71,7 @@ void DontCrashCursorPhysicalSizeEmpty::initTestCase()
kwinApp
()
->
start
();
QVERIFY
(
applicationStartedSpy
.
wait
());
waylandServer
()
->
initWorkspace
();
}
void
DontCrashCursorPhysicalSizeEmpty
::
testMoveCursorOverDeco
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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