qt: Migrate to Qt 5 signal/slot connection syntax where applicable
This commit is contained in:
parent
cb3ab6ec77
commit
5e46a9bb2b
5 changed files with 31 additions and 31 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue