summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-09 15:19:19 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-09 15:19:19 +0200
commit7bcf3f7cdaa7baf0ebe9e95529c0d2c3c1009e91 (patch)
tree8d1ee5cfcc76bb21fca06af0b44a079a120dbaf3
parent2b01369c59f03b49a8a98363c7bde4c0804d40ff (diff)
downloadkube-7bcf3f7cdaa7baf0ebe9e95529c0d2c3c1009e91.tar.gz
kube-7bcf3f7cdaa7baf0ebe9e95529c0d2c3c1009e91.zip
We need the slash for path concatentation to work
-rw-r--r--applications/kube/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/kube/main.cpp b/applications/kube/main.cpp
index cbda7630..411e2d6a 100644
--- a/applications/kube/main.cpp
+++ b/applications/kube/main.cpp
@@ -172,7 +172,7 @@ int main(int argc, char *argv[])
172 QString kubeIcons = QStandardPaths::locate(QStandardPaths::AppDataLocation, QStringLiteral("kube-icons.rcc")); 172 QString kubeIcons = QStandardPaths::locate(QStandardPaths::AppDataLocation, QStringLiteral("kube-icons.rcc"));
173 //For windows 173 //For windows
174 if (kubeIcons.isEmpty()) { 174 if (kubeIcons.isEmpty()) {
175 kubeIcons = findFile(QStringLiteral("kube/kube-icons.rcc"), QStandardPaths::standardLocations(QStandardPaths::AppDataLocation)); 175 kubeIcons = findFile(QStringLiteral("/kube/kube-icons.rcc"), QStandardPaths::standardLocations(QStandardPaths::AppDataLocation));
176 } 176 }
177 if (!QResource::registerResource(kubeIcons, "/icons/kube")) { 177 if (!QResource::registerResource(kubeIcons, "/icons/kube")) {
178 qWarning() << "Failed to register icon resource!" << kubeIcons; 178 qWarning() << "Failed to register icon resource!" << kubeIcons;