I think this code in setSurface() is now redundant:
""" if (m_window) { connect(m_window, &QQuickWindow::frameSwapped, this, &MirSurfaceItem::onCompositorSwappedBuffers, (Qt::ConnectionType) (Qt::DirectConnection | Qt::UniqueConnection)); } """
« Back to merge proposal
I think this code in setSurface() is now redundant:
"""
connect( m_window, &QQuickWindow: :frameSwapped, this, &MirSurfaceItem ::onCompositorS wappedBuffers,
(Qt:: ConnectionType) (Qt::DirectConn ection | Qt::UniqueConne ction)) ;
if (m_window) {
}
"""