diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index 1fce7cfd32..92c450f78d 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp @@ -92,6 +92,7 @@ void EmuThread::run() { MicroProfileOnThreadExit(); #endif } + OpenGLWindow::OpenGLWindow(QWindow* parent, QWidget* event_handler, QOpenGLContext* shared_context) : QWindow(parent), event_handler(event_handler), context(new QOpenGLContext(shared_context->parent())) { @@ -342,7 +343,6 @@ void GRenderWindow::focusOutEvent(QFocusEvent* event) { } void GRenderWindow::resizeEvent(QResizeEvent* event) { - child_widget->resize(event->size()); QWidget::resizeEvent(event); OnFramebufferSizeChanged(); } diff --git a/src/citra_qt/bootmanager.h b/src/citra_qt/bootmanager.h index 44ed0f0599..2a8b32bff9 100644 --- a/src/citra_qt/bootmanager.h +++ b/src/citra_qt/bootmanager.h @@ -129,7 +129,6 @@ public: protected: bool event(QEvent* event) override; - void exposeEvent(QExposeEvent* event) override; private: