feature: added error handling and minor ui fixes
This commit is contained in:
parent
42d3d9b98a
commit
07baf0ed65
16 changed files with 101 additions and 53 deletions
|
|
@ -11,10 +11,13 @@ class ApiConfigsController : public QObject
|
|||
Q_OBJECT
|
||||
public:
|
||||
ApiConfigsController(const QSharedPointer<ServersModel> &serversModel, const std::shared_ptr<Settings> &settings,
|
||||
QObject *parent = nullptr);
|
||||
QObject *parent = nullptr);
|
||||
|
||||
public slots:
|
||||
void exportNativeConfig(const QString &serverCountryCode, const QString &fileName);
|
||||
bool exportNativeConfig(const QString &serverCountryCode, const QString &fileName);
|
||||
|
||||
signals:
|
||||
void errorOccurred(ErrorCode errorCode);
|
||||
|
||||
private:
|
||||
struct ApiPayloadData
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue