From cf2ed5ad8ff3b0345671be6e0e728d70dd4a3eed Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sat, 19 Jun 2021 09:16:32 +0300 Subject: [PATCH] UI: Settings: Fix PVS-Studio warning. V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_iniExists. settings.cpp 7 --- src/ui/util/ini/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/util/ini/settings.cpp b/src/ui/util/ini/settings.cpp index c8a316b4..41c11ef6 100644 --- a/src/ui/util/ini/settings.cpp +++ b/src/ui/util/ini/settings.cpp @@ -4,7 +4,7 @@ #include "../fileutil.h" -Settings::Settings(QObject *parent) : QObject(parent) { } +Settings::Settings(QObject *parent) : QObject(parent), m_iniExists(false) { } void Settings::setupIni(const QString &filePath) {