From 5bd100fd0a74cf052a6a3c8ee995b2deee9aed73 Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Wed, 29 Mar 2023 04:08:28 +0300 Subject: [PATCH] Use int for better compatibility (#1177) IB-7700 Signed-off-by: Raul Metsma --- client/Settings.cpp | 4 ++-- client/Settings.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client/Settings.cpp b/client/Settings.cpp index 12ffab6e1..3faf937cf 100644 --- a/client/Settings.cpp +++ b/client/Settings.cpp @@ -54,7 +54,7 @@ const Option Settings::SID_UUID_CUSTOM const Option Settings::SMARTID_REMEMBER { QStringLiteral("SmartIDSettings"), true }; const Option Settings::SMARTID_CODE { QStringLiteral("SmartID") }; const Option Settings::SMARTID_COUNTRY { QStringLiteral("SmartIDCountry"), QStringLiteral("EE") }; -const QStringList Settings::SMARTID_COUNTRY_LIST = { +const QStringList Settings::SMARTID_COUNTRY_LIST { QStringLiteral("EE"), QStringLiteral("LT"), QStringLiteral("LV"), @@ -78,7 +78,7 @@ const Option Settings::SHOW_INTRO { QStringLiteral("showIntro"), true }; const Option Settings::SHOW_PRINT_SUMMARY { QStringLiteral("ShowPrintSummary"), false }; const Option Settings::SHOW_ROLE_ADDRESS_INFO { QStringLiteral("RoleAddressInfo"), false }; -const Option Settings::PROXY_CONFIG { QStringLiteral("ProxyConfig"), Settings::ProxyNone }; +const Option Settings::PROXY_CONFIG { QStringLiteral("ProxyConfig"), Settings::ProxyNone }; const Option Settings::PROXY_HOST { QStringLiteral("ProxyHost") }; const Option Settings::PROXY_PORT { QStringLiteral("ProxyPort") }; const Option Settings::PROXY_USER { QStringLiteral("ProxyUser") }; diff --git a/client/Settings.h b/client/Settings.h index 4b485ef69..42f70f96b 100644 --- a/client/Settings.h +++ b/client/Settings.h @@ -116,7 +116,7 @@ struct Settings ProxySystem, ProxyManual, }; - static const Option PROXY_CONFIG; + static const Option PROXY_CONFIG; static const Option PROXY_HOST; static const Option PROXY_PORT; static const Option PROXY_USER; @@ -128,4 +128,3 @@ struct Settings static const Option TSL_ONLINE_DIGEST; #endif }; -Q_DECLARE_METATYPE(Settings::ProxyConfig)