summaryrefslogtreecommitdiff
path: root/src/yuzu/loading_screen.cpp
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-06-10 23:09:49 -0400
committerGitHub <noreply@github.com>2022-06-10 23:09:49 -0400
commit266e086706d4cdb4fe1c6b3979f4f8a7e7b24f44 (patch)
treef4a72e049c4b692d067053cdf96b355e7d0ed794 /src/yuzu/loading_screen.cpp
parent9561a2f5b1bc0a09c37909b07a85e27ee2f60be4 (diff)
parent499c89790b0e07dbb014b8b7415bf0e28cecfaaf (diff)
Merge pull request #8318 from Docteh/cmake-qt56-entry
Update some files with Qt 5.15.2 best practices in mind
Diffstat (limited to 'src/yuzu/loading_screen.cpp')
-rw-r--r--src/yuzu/loading_screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/loading_screen.cpp b/src/yuzu/loading_screen.cpp
index edfb946a8..e273744fd 100644
--- a/src/yuzu/loading_screen.cpp
+++ b/src/yuzu/loading_screen.cpp
@@ -183,7 +183,7 @@ void LoadingScreen::OnLoadProgress(VideoCore::LoadCallbackStage stage, std::size
void LoadingScreen::paintEvent(QPaintEvent* event) {
QStyleOption opt;
- opt.init(this);
+ opt.initFrom(this);
QPainter p(this);
style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
QWidget::paintEvent(event);