--verbose

This commit is contained in:
Aleix Pol 2019-06-22 14:56:52 +02:00
parent 0d43606d40
commit f41fd9b9e4
2 changed files with 3 additions and 3 deletions

View file

@ -205,7 +205,7 @@ public:
SlideManagerInterface *createSlideManager(QObject *parent = nullptr);
DpmsManagerInterface *createDpmsManager(QObject *parent = nullptr);
/** @since 5.57 */
/** @since 5.60 */
KeyStateInterface *createKeyStateInterface(QObject *parent = nullptr);
/**

View file

@ -86,9 +86,9 @@ void KeyStateInterface::setState(KeyStateInterface::Key key, KeyStateInterface::
auto dptr = static_cast<KeyStateInterface::Private*>(d.data());
dptr->m_keyStates[int(key)] = state;
qDebug() << Q_FUNC_INFO << "xxxxxxxx setting state" << dptr->m_resources << key << state;
for(auto r : qAsConst(dptr->m_resources))
for(auto r : qAsConst(dptr->m_resources)) {
org_kde_kwin_keystate_send_stateChanged(r, int(key), int(state));
}
}
}