Revert "- settings: load scan defaults before save scan.conf"

This reverts commit 7eb9e9282b


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4e39377fd4
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-02-13 (Sat, 13 Feb 2021)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-02-13 22:04:08 +01:00
parent 7eb9e9282b
commit 9888eb6365
2 changed files with 0 additions and 7 deletions

View File

@@ -22,7 +22,6 @@
*/
#include <cstring>
#include <unistd.h>
#include <system/settings.h>
#include <zapit/settings.h>
@@ -191,10 +190,6 @@ bool CScanSettings::loadSettings(const char * const fileName)
bool CScanSettings::saveSettings(const char * const fileName)
{
// get sure we got initialized variables
if (access(fileName, R_OK) != 0)
loadSettings(fileName);
configfile.setInt32("bouquetMode", bouquetMode);
configfile.setInt32("scanType", scanType);