Client: Don't spam stderr about ignored window states

Since it is not supported by the protocol, neither we, nor the
application developer can do anything about it.

Change it from warning to debug so it only shows up when enabled.

Task-number: QTBUG-76061
Change-Id: I81420e0c72a9e9652f6592d65c70c7df1e5725b9
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
This commit is contained in:
Johan Klokkhammer Helsing 2019-09-03 08:22:44 +02:00
parent c357505f3a
commit 1830187471
2 changed files with 2 additions and 2 deletions

View File

@ -342,7 +342,7 @@ void QWaylandXdgSurfaceV6::requestWindowStates(Qt::WindowStates states)
if (m_toplevel)
m_toplevel->requestWindowStates(states);
else
qCWarning(lcQpaWayland) << "Non-toplevel surfaces can't request window states";
qCDebug(lcQpaWayland) << "Ignoring window states requested by non-toplevel.";
}
void QWaylandXdgSurfaceV6::setToplevel()

View File

@ -377,7 +377,7 @@ void QWaylandXdgSurface::requestWindowStates(Qt::WindowStates states)
if (m_toplevel)
m_toplevel->requestWindowStates(states);
else
qCWarning(lcQpaWayland) << "Non-toplevel surfaces can't request window states";
qCDebug(lcQpaWayland) << "Ignoring window states requested by non-toplevel zxdg_surface_v6.";
}
void QWaylandXdgSurface::setToplevel()