summaryrefslogtreecommitdiff
path: root/LibGUI/GDirectoryModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibGUI/GDirectoryModel.cpp')
-rw-r--r--LibGUI/GDirectoryModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GDirectoryModel.cpp b/LibGUI/GDirectoryModel.cpp
index b4cc311632..2db018b97f 100644
--- a/LibGUI/GDirectoryModel.cpp
+++ b/LibGUI/GDirectoryModel.cpp
@@ -202,7 +202,7 @@ String GDirectoryModel::name_for_uid(uid_t uid) const
{
auto it = m_user_names.find(uid);
if (it == m_user_names.end())
- return String::format("%u", uid);
+ return String::number(uid);
return (*it).value;
}
@@ -210,7 +210,7 @@ String GDirectoryModel::name_for_gid(uid_t gid) const
{
auto it = m_user_names.find(gid);
if (it == m_user_names.end())
- return String::format("%u", gid);
+ return String::number(gid);
return (*it).value;
}