summaryrefslogtreecommitdiff
path: root/Userland/Applications/PDFViewer
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2023-05-14 19:02:08 +0200
committerAndreas Kling <kling@serenityos.org>2023-05-15 06:42:10 +0200
commit945f05ed76b23e8b201ce0a758d5318723440d36 (patch)
tree288f5a88e2f5583cb06bf1033ed411877c1e1c4c /Userland/Applications/PDFViewer
parent741f07dedf92bf2b64774784585684acb16f642b (diff)
downloadserenity-945f05ed76b23e8b201ce0a758d5318723440d36.zip
Userland: Port `Model::column_name()` to String
Diffstat (limited to 'Userland/Applications/PDFViewer')
-rw-r--r--Userland/Applications/PDFViewer/PDFViewerWidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/PDFViewer/PDFViewerWidget.cpp b/Userland/Applications/PDFViewer/PDFViewerWidget.cpp
index b3d0a5ea49..a7f3b789b2 100644
--- a/Userland/Applications/PDFViewer/PDFViewerWidget.cpp
+++ b/Userland/Applications/PDFViewer/PDFViewerWidget.cpp
@@ -64,13 +64,13 @@ public:
return Columns::Page;
}
- DeprecatedString column_name(int index) const override
+ String column_name(int index) const override
{
switch (index) {
case 0:
- return "Page";
+ return "Page"_short_string;
case 1:
- return "Message";
+ return "Message"_short_string;
default:
VERIFY_NOT_REACHED();
}