aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/bootmanager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-01-18 20:03:13 -0500
committerLioncash <mathew1800@gmail.com>2018-01-18 20:09:40 -0500
commit5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df (patch)
treea2101a82095970dd41690a65d8a5c474d73ba81b /src/yuzu/bootmanager.cpp
parentcb3ab6ec77e20dc108147db662bf244448608275 (diff)
qt: Migrate to Qt 5 signal/slot connection syntax where applicable
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
-rw-r--r--src/yuzu/bootmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index b9dc4943af..469988d63f 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -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);
}