Stop using loadColors, loadSetup should load same default colors; Clear FB on settings reset - if font/size/preset different, there was artifatcs

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1904 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2011-11-25 15:07:29 +00:00
parent bd9c45b1de
commit 8db902c9f7

View File

@@ -1003,9 +1003,10 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
//unlink(NEUTRINO_SCAN_SETTINGS_FILE); //unlink(NEUTRINO_SCAN_SETTINGS_FILE);
CNeutrinoApp::getInstance()->loadSetup(NEUTRINO_SETTINGS_FILE); CNeutrinoApp::getInstance()->loadSetup(NEUTRINO_SETTINGS_FILE);
CNeutrinoApp::getInstance()->saveSetup(NEUTRINO_SETTINGS_FILE); CNeutrinoApp::getInstance()->saveSetup(NEUTRINO_SETTINGS_FILE);
CNeutrinoApp::getInstance()->loadColors(NEUTRINO_SETTINGS_FILE); //CNeutrinoApp::getInstance()->loadColors(NEUTRINO_SETTINGS_FILE);
//CNeutrinoApp::getInstance()->SetupFonts(); CNeutrinoApp::getInstance()->SetupFonts();
CNeutrinoApp::getInstance()->SetupTiming(); CNeutrinoApp::getInstance()->SetupTiming();
CFrameBuffer::getInstance()->Clear();
} }
if(delete_chan) { if(delete_chan) {
system("rm -f /var/tuxbox/config/zapit/*.xml"); system("rm -f /var/tuxbox/config/zapit/*.xml");