summaryrefslogtreecommitdiffstats
path: root/framework/src/accounts/accountfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/accounts/accountfactory.cpp')
-rw-r--r--framework/src/accounts/accountfactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/src/accounts/accountfactory.cpp b/framework/src/accounts/accountfactory.cpp
index 5d3c35fc..7f3f046d 100644
--- a/framework/src/accounts/accountfactory.cpp
+++ b/framework/src/accounts/accountfactory.cpp
@@ -68,8 +68,8 @@ void AccountFactory::loadPackage()
68 if (pluginPath.isEmpty()) { 68 if (pluginPath.isEmpty()) {
69 qWarning() << "Failed to load account package: " << "org.kube.accounts." + mAccountType; 69 qWarning() << "Failed to load account package: " << "org.kube.accounts." + mAccountType;
70 } else { 70 } else {
71 mUiPath = pluginPath + "/AccountSettings.qml"; 71 mUiPath = QUrl::fromLocalFile(pluginPath + "/AccountSettings.qml");
72 mLoginUi = pluginPath + "/Login.qml"; 72 mLoginUi = QUrl::fromLocalFile(pluginPath + "/Login.qml");
73 if (QFileInfo::exists(pluginPath + "/metadata.json")) { 73 if (QFileInfo::exists(pluginPath + "/metadata.json")) {
74 QFile file{pluginPath + "/metadata.json"}; 74 QFile file{pluginPath + "/metadata.json"};
75 file.open(QIODevice::ReadOnly); 75 file.open(QIODevice::ReadOnly);