mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-09-06 22:36:31 -05:00
qt: Migrate to Qt 5 signal/slot connection syntax where applicable
This commit is contained in:
@@ -289,6 +289,6 @@ void GRenderWindow::showEvent(QShowEvent* event) {
|
||||
QWidget::showEvent(event);
|
||||
|
||||
// windowHandle() is not initialized until the Window is shown, so we connect it here.
|
||||
connect(this->windowHandle(), SIGNAL(screenChanged(QScreen*)), this,
|
||||
SLOT(OnFramebufferSizeChanged()), Qt::UniqueConnection);
|
||||
connect(windowHandle(), &QWindow::screenChanged, this, &GRenderWindow::OnFramebufferSizeChanged,
|
||||
Qt::UniqueConnection);
|
||||
}
|
||||
|
Reference in New Issue
Block a user