From 2beb0f6be118d1cd6e85efd300d9d081f7ac44d0 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 24 Oct 2021 21:47:44 +0200 Subject: [PATCH] screensaver: cleanup annoying code block Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/6d6c716790bcdb84b250296635d3030d4d786469 Author: vanhofen Date: 2021-10-24 (Sun, 24 Oct 2021) Origin message was: ------------------ - screensaver: cleanup annoying code block --- src/gui/screensaver.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/gui/screensaver.cpp b/src/gui/screensaver.cpp index a8c3cb0c1..f5b10e983 100644 --- a/src/gui/screensaver.cpp +++ b/src/gui/screensaver.cpp @@ -408,17 +408,6 @@ void CScreenSaver::paint() #endif } #if !HAVE_CST_HARDWARE -#if 0 - // example for callback - m_frameBuffer->OnFallbackShowFrame.connect(sigc::bind(sigc::mem_fun(CFrameBuffer::getInstance(), - &CFrameBuffer::paintBoxRel), - scr_clock->getXPos(), scr_clock->getYPos(), - scr_clock->getWidth(), scr_clock->getHeight(), - COL_BLACK, - 0, - CORNER_ALL) - ); -#endif m_frameBuffer->showFrame("blackscreen.jpg", CFrameBuffer::SHOW_FRAME_FALLBACK_MODE_CALLBACK | CFrameBuffer::SHOW_FRAME_FALLBACK_MODE_BLACKSCREEN); #endif