Fix for CommandLineParser

This commit is contained in:
pokamest 2022-08-31 16:54:46 +03:00
parent fffa4fc031
commit 0ca4f3b104
3 changed files with 25 additions and 17 deletions

View file

@ -40,19 +40,19 @@ public:
void registerTypes();
void loadFonts();
void loadTranslator();
void parseCommands();
bool parseCommands();
QQmlApplicationEngine *qmlEngine() const;
private:
QQmlApplicationEngine *m_engine;
UiLogic *m_uiLogic;
QQmlApplicationEngine *m_engine {};
UiLogic *m_uiLogic {};
std::shared_ptr<Settings> m_settings;
std::shared_ptr<VpnConfigurator> m_configurator;
std::shared_ptr<ServerController> m_serverController;
ContainerProps* m_containerProps;
ProtocolProps* m_protocolProps;
ContainerProps* m_containerProps {};
ProtocolProps* m_protocolProps {};
QTranslator* m_translator;
QCommandLineParser m_parser;