mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
fix: returned logger to apiCountryModel
This commit is contained in:
@@ -5,22 +5,24 @@
|
||||
#include <utility>
|
||||
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user