From 7f5102e26ca8e43f2fa203eaa8f37c3bb26c0052 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 14 Oct 2020 20:41:32 -0700 Subject: [PATCH] Qt: Clean up redundant config tweaking --- src/platform/qt/Window.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index bc2f0b535..2052bfef4 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -252,11 +252,6 @@ void Window::reloadConfig() { } m_display->resizeContext(); } - if (m_display) { - m_display->lockAspectRatio(opts->lockAspectRatio); - m_display->filter(opts->resampleVideo); - } - m_screenWidget->filter(opts->resampleVideo); m_inputController.setScreensaverSuspendable(opts->suspendScreensaver); } @@ -908,7 +903,6 @@ void Window::reloadDisplayDriver() { m_display->lockIntegerScaling(opts->lockIntegerScaling); m_display->interframeBlending(opts->interframeBlending); m_display->filter(opts->resampleVideo); - m_screenWidget->filter(opts->resampleVideo); m_config->updateOption("showOSD"); #if defined(BUILD_GL) || defined(BUILD_GLES2) if (opts->shader) {