aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/modrinth
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-18 20:19:51 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-18 20:19:51 +0300
commit4c52b18bdd3112b5e92de61860fd8eff8ecdde9b (patch)
tree4aecbe581b3a2fc65440283c18f88888672d8bb2 /launcher/ui/pages/modplatform/modrinth
parent44ff247f5f71ebeb95423ca37bf82d9913073522 (diff)
downloadPrismLauncher-4c52b18bdd3112b5e92de61860fd8eff8ecdde9b.tar.gz
PrismLauncher-4c52b18bdd3112b5e92de61860fd8eff8ecdde9b.tar.bz2
PrismLauncher-4c52b18bdd3112b5e92de61860fd8eff8ecdde9b.zip
replaced removeFirst with mid
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth')
-rw-r--r--launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp
index 16949eba..36a1c47a 100644
--- a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp
+++ b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.cpp
@@ -134,7 +134,7 @@ void ModpackListModel::performPaginatedSearch()
return;
if (currentSearchTerm.startsWith("#")) {
- auto projectId = currentSearchTerm.removeFirst();
+ auto projectId = currentSearchTerm.mid(1);
if (!projectId.isEmpty()) {
ResourceAPI::ProjectInfoCallbacks callbacks;