mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
fix: returned logger to apiCountryModel
This commit is contained in:
@@ -5,13 +5,15 @@
|
||||
#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
|
||||
{
|
||||
struct RegionRowData
|
||||
{
|
||||
bool isRegionHeader = false;
|
||||
QString regionName;
|
||||
bool isExpanded = true;
|
||||
@@ -20,7 +22,7 @@ struct RegionRowData
|
||||
QString sourceCountryName;
|
||||
QString countryCode;
|
||||
QString countryImageCode;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
class ApiCountryModel::RegionRowsModel : public QAbstractListModel
|
||||
|
||||
Reference in New Issue
Block a user