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
Plasma Integration
Commits
43922b59
Commit
43922b59
authored
Apr 11, 2022
by
David Edmundson
Browse files
Update unit test to reflect code changes
00fc43a2
enables hover effects by default. The unit test was not updated.
parent
6f02ea26
Pipeline
#162707
passed with stage
in 2 minutes and 11 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
autotests/khintssettings_unittest.cpp
View file @
43922b59
...
...
@@ -44,7 +44,7 @@ void KHintsSettingsTest::testDefaults()
QCOMPARE
(
hints
.
hint
(
QPlatformTheme
::
DialogButtonBoxButtonsHaveIcons
).
toBool
(),
true
);
QCOMPARE
(
hints
.
hint
(
QPlatformTheme
::
UseFullScreenForPopupMenu
).
toBool
(),
true
);
QCOMPARE
(
hints
.
hint
(
QPlatformTheme
::
KeyboardScheme
).
toInt
(),
int
(
QPlatformTheme
::
KdeKeyboardScheme
));
QCOMPARE
(
hints
.
hint
(
QPlatformTheme
::
UiEffects
).
toInt
(),
0
);
QCOMPARE
(
hints
.
hint
(
QPlatformTheme
::
UiEffects
).
toInt
(),
QPlatformTheme
::
HoverEffect
);
QCOMPARE
(
hints
.
hint
(
QPlatformTheme
::
IconPixmapSizes
).
value
<
QList
<
int
>>
(),
QList
<
int
>
({
512
,
256
,
128
,
64
,
32
,
22
,
16
,
8
}));
QCOMPARE
(
hints
.
hint
(
QPlatformTheme
::
WheelScrollLines
).
toInt
(),
3
);
}
...
...
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