From 8d258d149d91cf37862f7f134833651deca3472f Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 16 Feb 2012 07:38:01 +0000 Subject: [PATCH] Revert 2096, 2098: screenshot Start save screenshot in background, then delete itself git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2107 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/7713dbd766d639908c8fb880ae69afc959ec5fcf Author: [CST] Focus Date: 2012-02-16 (Thu, 16 Feb 2012) --- src/gui/movieplayer.cpp | 1 - src/neutrino.cpp | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 070fae7d3..04b3d7c49 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -599,7 +599,6 @@ void CMoviePlayerGui::PlayFile(void) #endif CScreenShot * sc = new CScreenShot(fname); sc->Start(); - delete sc; } else if ( msg == NeutrinoMessages::ANNOUNCE_RECORD || msg == NeutrinoMessages::RECORD_START) { diff --git a/src/neutrino.cpp b/src/neutrino.cpp index bbcc6d942..f7ca2f540 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2060,7 +2060,6 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu) CScreenShot * sc = new CScreenShot("", (CScreenShot::screenshot_format_t)g_settings.screenshot_format); sc->MakeFileName(CZapit::getInstance()->GetCurrentChannelID()); sc->Start(); - delete sc; } } else if( msg == (neutrino_msg_t) g_settings.key_lastchannel ) { @@ -2477,7 +2476,6 @@ _repeat: sc->EnableOSD(true); sc->MakeFileName(CZapit::getInstance()->GetCurrentChannelID()); sc->Start(); - delete sc; } /* ================================== MESSAGES ================================================ */ @@ -3949,4 +3947,4 @@ void CNeutrinoApp::SDT_ReloadChannels() g_RCInput->postMsg(CRCInput::RC_ok, 0); } -} \ No newline at end of file +}