3
0
Fork 0
forked from suyu/suyu

yuzu/bootmanager: Resolve constructor initializer list warnings

Resolves -Wreorder warnings. These will automatically be initialized to
nullptr anyways, so these were redundant.
This commit is contained in:
Lioncash 2019-04-16 23:49:24 -04:00
parent 0cfbd3325b
commit fbfc347351

View file

@ -186,8 +186,7 @@ private:
}; };
GRenderWindow::GRenderWindow(QWidget* parent, EmuThread* emu_thread) GRenderWindow::GRenderWindow(QWidget* parent, EmuThread* emu_thread)
: QWidget(parent), child(nullptr), context(nullptr), emu_thread(emu_thread) { : QWidget(parent), emu_thread(emu_thread) {
setWindowTitle(QStringLiteral("yuzu %1 | %2-%3") setWindowTitle(QStringLiteral("yuzu %1 | %2-%3")
.arg(Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc)); .arg(Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc));
setAttribute(Qt::WA_AcceptTouchEvents); setAttribute(Qt::WA_AcceptTouchEvents);