diff --git a/src/handlers/xdgurl.cpp b/src/handlers/xdgurl.cpp index a018ddb5c511e89548358fffff24bbb019b15741..8d0f0b636326dfd82df38b929a0c9dde914d68c3 100644 --- a/src/handlers/xdgurl.cpp +++ b/src/handlers/xdgurl.cpp @@ -17,8 +17,8 @@ XdgUrl::XdgUrl(const QString &xdgUrl, Core::Config *appConfig, Core::Config *use QObject(parent), _xdgUrl(xdgUrl), _appConfig(appConfig), _userConfig(userConfig), _asyncNetwork(asyncNetwork) { _metadata = _parse(); - _destinations = _importDestinations(); - _archiveTypes = _importArchiveTypes(); + _destinations = _loadDestinations(); + _archiveTypes = _loadArchiveTypes(); } QJsonObject XdgUrl::_parse() @@ -77,7 +77,7 @@ QString XdgUrl::_convertPathString(const QString &path) return newPath; } -QJsonObject XdgUrl::_importDestinations() +QJsonObject XdgUrl::_loadDestinations() { QJsonObject destinations; QJsonObject appConfigDestinations = _appConfig->get("destinations"); @@ -114,7 +114,7 @@ QJsonObject XdgUrl::_importDestinations() return destinations; } -QJsonObject XdgUrl::_importArchiveTypes() +QJsonObject XdgUrl::_loadArchiveTypes() { QJsonObject archiveTypes; QJsonObject appConfigArchiveTypes = _appConfig->get("archive_types"); diff --git a/src/handlers/xdgurl.h b/src/handlers/xdgurl.h index 15f162bf9375cd9c9ff7887b7b579e57d6647b9e..e89df2d3189432b701a443e4b7fd3b24bcc43e6b 100644 --- a/src/handlers/xdgurl.h +++ b/src/handlers/xdgurl.h @@ -33,8 +33,8 @@ public: private: QJsonObject _parse(); QString _convertPathString(const QString &path); - QJsonObject _importDestinations(); - QJsonObject _importArchiveTypes(); + QJsonObject _loadDestinations(); + QJsonObject _loadArchiveTypes(); bool _installPlasmapkg(const QString &path, const QString &type = "plasmoid"); bool _uncompressArchive(const QString &path, const QString &targetDir); bool _download();