From f41d4cd97338e2963c42f6f89a90d659dad12bdd Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 5 Oct 2014 01:00:51 +0200 Subject: [PATCH] CShellWindow: remove useless framebuffer callings Not to see here a reason for call of framebuffer methods. This is already done by textbox object. --- src/gui/widget/shellwindow.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gui/widget/shellwindow.cpp b/src/gui/widget/shellwindow.cpp index 08a829895..fc9d53905 100644 --- a/src/gui/widget/shellwindow.cpp +++ b/src/gui/widget/shellwindow.cpp @@ -205,8 +205,6 @@ CShellWindow::~CShellWindow() exit = true; } - frameBuffer->blit(); - neutrino_msg_t msg; neutrino_msg_data_t data; uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]); @@ -217,9 +215,6 @@ CShellWindow::~CShellWindow() g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd); while (msg != CRCInput::RC_ok && msg != CRCInput::RC_home && msg != CRCInput::RC_timeout); } - - frameBuffer->Clear(); - frameBuffer->blit(); } if (textBox) { textBox->hide();