forked from qt-creator/qt-creator
QmlDesigner & friends: Fix various new warnings
Change-Id: Ia5e3d47e70e1881e70652f090ccc61543535df4e Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -132,6 +132,9 @@ bool IconRenderer::eventFilter(QObject *watched, QEvent *event)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
if (watched == m_quickView && event->type() == QEvent::Expose)
|
||||
QTimer::singleShot(0, this, &IconRenderer::createIcon);
|
||||
#else
|
||||
Q_UNUSED(watched)
|
||||
Q_UNUSED(event)
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user