summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Grulich <[email protected]>2017-02-21 08:37:32 +0100
committerJan Grulich <[email protected]>2017-02-21 08:37:39 +0100
commit03452275d2ee59e8692bf6137cbea7a24023d96a (patch)
tree53ec2ea86ea845423ac6036672b23ee66faa30a5
parentc3dfdac65854f7e9c3f2357539ecf253ad4b50b0 (diff)
Get rid of "(Nightly)" suffix
-rw-r--r--libdiscover/backends/FlatpakBackend/FlatpakResource.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiscover/backends/FlatpakBackend/FlatpakResource.cpp b/libdiscover/backends/FlatpakBackend/FlatpakResource.cpp
index f9da894..12fe5a8 100644
--- a/libdiscover/backends/FlatpakBackend/FlatpakResource.cpp
+++ b/libdiscover/backends/FlatpakBackend/FlatpakResource.cpp
@@ -230,6 +230,10 @@ QString FlatpakResource::name()
name = m_appdata->id();
}
+ if (name.startsWith(QLatin1String("(Nightly) "))) {
+ return name.mid(10);
+ }
+
return name;
}