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
c812b1b8
Commit
c812b1b8
authored
Dec 17, 2020
by
Vlad Zahorodnii
Browse files
Spy on the right signal in KeyboardLayoutTest
parent
a8dd4559
Changes
1
Hide whitespace changes
Inline
Side-by-side
autotests/integration/keyboard_layout_test.cpp
View file @
c812b1b8
...
...
@@ -45,7 +45,7 @@ public:
QVERIFY
(
layoutChangedSpy
.
isValid
());
QVERIFY
(
QDBusConnection
::
sessionBus
().
connect
(
QStringLiteral
(
"org.kde.keyboard"
),
QStringLiteral
(
"/Layouts"
),
QStringLiteral
(
"org.kde.KeyboardLayouts"
),
QStringLiteral
(
"layoutListChanged"
),
this
,
SIGNAL
(
layoutListChanged
())));
QVERIFY
(
QDBusConnection
::
sessionBus
().
connect
(
QStringLiteral
(
"org.kde.keyboard"
),
QStringLiteral
(
"/Layouts"
),
QStringLiteral
(
"org.kde.KeyboardLayouts"
),
QStringLiteral
(
"
currentL
ayoutChanged"
),
this
,
SIGNAL
(
layoutChanged
(
QString
))));
QVERIFY
(
QDBusConnection
::
sessionBus
().
connect
(
QStringLiteral
(
"org.kde.keyboard"
),
QStringLiteral
(
"/Layouts"
),
QStringLiteral
(
"org.kde.KeyboardLayouts"
),
QStringLiteral
(
"
l
ayoutChanged"
),
this
,
SIGNAL
(
layoutChanged
(
QString
))));
}
Q_SIGNALS:
...
...
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