Skip to content
Snippets Groups Projects
Commit 00105cec authored by akiraohgaki's avatar akiraohgaki
Browse files

Fix initialize order

parent 50a97cb5
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
namespace core { namespace core {
Config::Config(const QString &configsDir, QObject *parent) : Config::Config(const QString &configsDir, QObject *parent) :
configsDir_(configsDir), QObject(parent) QObject(parent), configsDir_(configsDir)
{} {}
QJsonObject Config::get(const QString &name) QJsonObject Config::get(const QString &name)
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
namespace core { namespace core {
Network::Network(const bool &async, QObject *parent) : Network::Network(const bool &async, QObject *parent) :
async_(async), QObject(parent) QObject(parent), async_(async)
{ {
manager_ = new QNetworkAccessManager(this); manager_ = new QNetworkAccessManager(this);
connect(manager_, &QNetworkAccessManager::finished, connect(manager_, &QNetworkAccessManager::finished,
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
namespace handlers { namespace handlers {
XdgUrl::XdgUrl(const QString &xdgUrl, core::Config *config, core::Network *network, QObject *parent) : XdgUrl::XdgUrl(const QString &xdgUrl, core::Config *config, core::Network *network, QObject *parent) :
xdgUrl_(xdgUrl), config_(config), network_(network), QObject(parent) QObject(parent), xdgUrl_(xdgUrl), config_(config), network_(network)
{ {
parse(); parse();
loadDestinations(); loadDestinations();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment