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
Friedemann Kleint 2013-05-08 09:30:42 +02:00 committed by The Qt Project
parent 01bc34088e
commit 649fa0b004
1 changed files with 1 additions and 2 deletions

View File

@ -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.
}
/*!