summaryrefslogtreecommitdiff
path: root/Userland/Applications/PDFViewer/SidebarWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/PDFViewer/SidebarWidget.cpp')
-rw-r--r--Userland/Applications/PDFViewer/SidebarWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/PDFViewer/SidebarWidget.cpp b/Userland/Applications/PDFViewer/SidebarWidget.cpp
index cb3cc14201..87dc2925e9 100644
--- a/Userland/Applications/PDFViewer/SidebarWidget.cpp
+++ b/Userland/Applications/PDFViewer/SidebarWidget.cpp
@@ -17,7 +17,7 @@ SidebarWidget::SidebarWidget()
auto& tab_bar = add<GUI::TabWidget>();
- auto& outline_container = tab_bar.add_tab<GUI::Widget>("Outline");
+ auto& outline_container = tab_bar.add_tab<GUI::Widget>("Outline"_short_string);
outline_container.set_layout<GUI::VerticalBoxLayout>(4);
m_outline_tree_view = outline_container.add<GUI::TreeView>();
@@ -32,7 +32,7 @@ SidebarWidget::SidebarWidget()
on_destination_selected(destination);
};
- auto& thumbnails_container = tab_bar.add_tab<GUI::Widget>("Thumbnails");
+ auto& thumbnails_container = tab_bar.add_tab<GUI::Widget>("Thumbnails"_string.release_value_but_fixme_should_propagate_errors());
thumbnails_container.set_layout<GUI::VerticalBoxLayout>(4);
// FIXME: Add thumbnail previews