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

This reverts commit c6847ab684faaead48d87f9100a87925dc95beec
This commit is contained in:
svenhoefer
2021-02-13 22:04:08 +01:00
committed by Thilo Graf
parent afd57c3fe1
commit d84346c352
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>
@@ -187,10 +186,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);