summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Grulich <[email protected]>2017-03-27 12:41:27 +0200
committerJan Grulich <[email protected]>2017-03-27 12:41:27 +0200
commit3449a0039db481af206b123cccfc2cbcbf695a1b (patch)
treeb9be68729af06d95c1152e0fcade5e0e7dd452fe
parent00681078593a7188b2cf0edc14a756c5bd5a79cd (diff)
Use QString::split() instead of QString::splitRef as it causes weird issues
-rw-r--r--libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp b/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
index fe23688..6f2fefa 100644
--- a/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
+++ b/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
@@ -188,7 +188,7 @@ FlatpakResource * FlatpakBackend::getAppForInstalledRef(FlatpakInstallation *fla
FlatpakResource * FlatpakBackend::getRuntimeForApp(FlatpakResource *resource)
{
FlatpakResource *runtime = nullptr;
- const auto runtimeInfo = resource->runtime().splitRef(QLatin1Char('/'));
+ const auto runtimeInfo = resource->runtime().split(QLatin1Char('/'));
if (runtimeInfo.count() != 3) {
return runtime;