Server settings are read from QSettings and applied if they are changed.
This commit is contained in:
@ -33,6 +33,7 @@ class GenericCore : public QObject {
|
||||
void importCSVFile(const QString& filePath);
|
||||
bool exportCSVFile(const QString& filePath);
|
||||
|
||||
void applySettings(QVariantMap settingMap, QString group = "");
|
||||
bool isSyncServerSetup() const;
|
||||
|
||||
public slots:
|
||||
@ -65,6 +66,7 @@ class GenericCore : public QObject {
|
||||
/// Network communication
|
||||
std::unique_ptr<ServerCommunicator> m_serverCommunicator;
|
||||
void setupServerConfiguration();
|
||||
void applyServerConfiguration();
|
||||
};
|
||||
|
||||
#endif // GENERICCORE_H
|
||||
|
||||
Reference in New Issue
Block a user