Suppress warning about unsupported frame strut events.
The warning causes a test failure since it occurs with XCB.
Introduced by enabling frame strut events for all widgets
by f2fcf75381 .
Task-number: QTBUG-30530
Task-number: QTBUG-29012
Change-Id: I025b55f5198a270072b33cae033221709db256aa
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
bb10
parent
01bc34088e
commit
649fa0b004
|
|
@ -425,8 +425,7 @@ bool QPlatformWindow::startSystemResize(const QPoint &pos, Qt::Corner corner)
|
|||
|
||||
void QPlatformWindow::setFrameStrutEventsEnabled(bool enabled)
|
||||
{
|
||||
if (enabled)
|
||||
qWarning("This plugin does not support frame strut events.");
|
||||
Q_UNUSED(enabled) // Do not warn as widgets enable it by default causing warnings with XCB.
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
|
|||
Loading…
Reference in New Issue