qt: Migrate to Qt 5 signal/slot connection syntax where applicable

This commit is contained in:
Lioncash
2018-01-18 20:03:13 -05:00
parent cb3ab6ec77
commit 5e46a9bb2b
5 changed files with 31 additions and 31 deletions

View File

@ -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);
}