From 0540cd0818ea59e53e3465a7855ef45dd7eb4430 Mon Sep 17 00:00:00 2001 From: Mitternacht822 Date: Mon, 23 Feb 2026 16:41:42 +0400 Subject: [PATCH] fix: returned logger to apiCountryModel --- client/ui/models/api/apiCountryModel.cpp | 26 +++++++++++++----------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/client/ui/models/api/apiCountryModel.cpp b/client/ui/models/api/apiCountryModel.cpp index 02094a433..0292597b5 100644 --- a/client/ui/models/api/apiCountryModel.cpp +++ b/client/ui/models/api/apiCountryModel.cpp @@ -5,22 +5,24 @@ #include #include "core/api/apiDefs.h" +#include "logger.h" namespace { -constexpr QLatin1String countryConfig("country_config"); + Logger logger("ApiCountryModel"); + constexpr QLatin1String countryConfig("country_config"); -struct RegionRowData -{ - bool isRegionHeader = false; - QString regionName; - bool isExpanded = true; - int sourceIndex = -1; - QString countryName; - QString sourceCountryName; - QString countryCode; - QString countryImageCode; -}; + struct RegionRowData + { + bool isRegionHeader = false; + QString regionName; + bool isExpanded = true; + int sourceIndex = -1; + QString countryName; + QString sourceCountryName; + QString countryCode; + QString countryImageCode; + }; } class ApiCountryModel::RegionRowsModel : public QAbstractListModel