Commit 7261bbb2 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii Committed by David Edmundson
Browse files

Fix bad QObject::connect() argument

This fixes the warning that's printed when InputMethod tries to connect
the frameGeometryChanged signal of a null toplevel.
parent 213c9821
......@@ -200,8 +200,10 @@ void InputMethod::handleFocusedSurfaceChanged()
disconnect(m_trackedClient, &AbstractClient::frameGeometryChanged, this, &InputMethod::updateInputPanelState);
m_trackedClient = focusedClient;
if (m_trackedClient) {
connect(m_trackedClient, &AbstractClient::frameGeometryChanged, this, &InputMethod::updateInputPanelState, Qt::QueuedConnection);
} else {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment