aboutsummaryrefslogtreecommitdiff
path: root/launcher/StringUtils.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-06 19:18:39 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-06 19:18:39 -0700
commit718abaae0ef465050c81c0dfba63ce9f0fff17fc (patch)
tree1fb9f2f5e643819b443da03e47a40fdfde8ba9a5 /launcher/StringUtils.cpp
parent62a402d05aa2b4722201506794fd20e95b05845c (diff)
downloadPrismLauncher-718abaae0ef465050c81c0dfba63ce9f0fff17fc.tar.gz
PrismLauncher-718abaae0ef465050c81c0dfba63ce9f0fff17fc.tar.bz2
PrismLauncher-718abaae0ef465050c81c0dfba63ce9f0fff17fc.zip
doc fixes
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/StringUtils.cpp')
-rw-r--r--launcher/StringUtils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/launcher/StringUtils.cpp b/launcher/StringUtils.cpp
index f677ebf6..5d9e32b6 100644
--- a/launcher/StringUtils.cpp
+++ b/launcher/StringUtils.cpp
@@ -78,7 +78,6 @@ int StringUtils::naturalCompare(const QString& s1, const QString& s2, Qt::CaseSe
return QString::compare(s1, s2, cs);
}
-/// Truncate a url while keeping its readability py placing the `...` in the middle of the path
QString StringUtils::truncateUrlHumanFriendly(QUrl &url, int max_len, bool hard_limit)
{
auto display_options = QUrl::RemoveUserInfo | QUrl::RemoveFragment | QUrl::NormalizePathSegments;