diff --git a/src/core/config.cpp b/src/core/config.cpp index 0bcccffe325fced81be9e201489fc0be790fab8f..f844df58cda51cdb2c39acf06f07da964636ae39 100644 --- a/src/core/config.cpp +++ b/src/core/config.cpp @@ -6,7 +6,7 @@ namespace core { Config::Config(const QString &configsDir, QObject *parent) : - configsDir_(configsDir), QObject(parent) + QObject(parent), configsDir_(configsDir) {} QJsonObject Config::get(const QString &name) diff --git a/src/core/network.cpp b/src/core/network.cpp index 7680359525022659138027cd219af20f40731a35..b7c9f93ef14e3c71f438d20be5b391928ae110b1 100644 --- a/src/core/network.cpp +++ b/src/core/network.cpp @@ -8,7 +8,7 @@ namespace core { Network::Network(const bool &async, QObject *parent) : - async_(async), QObject(parent) + QObject(parent), async_(async) { manager_ = new QNetworkAccessManager(this); connect(manager_, &QNetworkAccessManager::finished, diff --git a/src/handlers/xdgurl.cpp b/src/handlers/xdgurl.cpp index 1b1f5b98893a2e78a1cbc1e8369154a5d338e2cd..00e36903c7fa2b2261a7a132481b26dd17d24522 100644 --- a/src/handlers/xdgurl.cpp +++ b/src/handlers/xdgurl.cpp @@ -14,7 +14,7 @@ namespace handlers { 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(); loadDestinations();