aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/flame
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/flame
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/flame')
-rw-r--r--launcher/ui/pages/modplatform/flame/FlameModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/modplatform/flame/FlameModel.cpp b/launcher/ui/pages/modplatform/flame/FlameModel.cpp
index e488f078..e4388c24 100644
--- a/launcher/ui/pages/modplatform/flame/FlameModel.cpp
+++ b/launcher/ui/pages/modplatform/flame/FlameModel.cpp
@@ -164,7 +164,7 @@ void ListModel::fetchMore(const QModelIndex& parent)
void ListModel::performPaginatedSearch()
{
if (currentSearchTerm.startsWith("#")) {
- auto projectId = currentSearchTerm.removeFirst();
+ auto projectId = currentSearchTerm.mid(1);
if (!projectId.isEmpty()) {
ResourceAPI::ProjectInfoCallbacks callbacks;