From 12aa9a734a1ab1f51bf9064d3b3c3a07f10766b5 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 28 Nov 2024 12:52:14 +0100 Subject: [PATCH] init some vars to defaults --- UpdatePTUDevCtrl/commandline_parser.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UpdatePTUDevCtrl/commandline_parser.h b/UpdatePTUDevCtrl/commandline_parser.h index 0a7e4c8..082680d 100644 --- a/UpdatePTUDevCtrl/commandline_parser.h +++ b/UpdatePTUDevCtrl/commandline_parser.h @@ -11,8 +11,8 @@ class CommandLineParser : public QCommandLineParser { QString m_plugInDir; QString m_plugInName; QString m_workingDir; - QString m_psaConfigDir; - QString m_psaTariffDir; + QString m_psaConfigDir{"etc/psa_config"}; + QString m_psaTariffDir{"etc/psa_tariff"}; QString m_dryRun; QString m_noUpdatePsaHardware; QString m_showYoctoVersion; @@ -21,8 +21,8 @@ class CommandLineParser : public QCommandLineParser { QString m_iniFileName; QString m_alwaysDownloadConfig; QString m_alwaysDownloadDC; - QString m_readDCVersion; - QString m_dcDir; + QString m_readDCVersion{"false"}; + QString m_dcDir{"etc/dc/"}; QCommandLineOption m_repositoryUrlOption; QCommandLineOption m_iniFileDirectoryOption;