From 9bb11133522836a9c5e251550ac88c9a4e091c0e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 May 2014 12:46:49 +0300 Subject: Move main window related code into windowmanager. --- src/gui/widgets/tabs/setup_video.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/tabs/setup_video.cpp') diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp index 439765260..54b17396a 100644 --- a/src/gui/widgets/tabs/setup_video.cpp +++ b/src/gui/widgets/tabs/setup_video.cpp @@ -27,6 +27,8 @@ #include "graphicsmanager.h" +#include "gui/windowmanager.h" + #include "gui/windows/okdialog.h" #include "gui/windows/textdialog.h" @@ -360,7 +362,7 @@ void Setup_Video::action(const ActionEvent &event) if (intToRenderType(config.getIntValue("opengl")) == RENDER_SOFTWARE) { - client->resizeVideo(width, height, false); + WindowManager::resizeVideo(width, height, false); } else { @@ -385,7 +387,7 @@ void Setup_Video::action(const ActionEvent &event) } #else mainGraphics->setWindowSize(width, height); - client->resizeVideo(width, height, false); + WindowManager::resizeVideo(width, height, false); #endif } -- cgit v1.2.3-70-g09d2