summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/AboutDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/AboutDialog.cpp')
-rw-r--r--Userland/Libraries/LibGUI/AboutDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/AboutDialog.cpp b/Userland/Libraries/LibGUI/AboutDialog.cpp
index ba657eed0d..abda05c205 100644
--- a/Userland/Libraries/LibGUI/AboutDialog.cpp
+++ b/Userland/Libraries/LibGUI/AboutDialog.cpp
@@ -16,7 +16,7 @@
namespace GUI {
-AboutDialog::AboutDialog(const StringView& name, const Gfx::Bitmap* icon, Window* parent_window, const StringView& version)
+AboutDialog::AboutDialog(StringView name, const Gfx::Bitmap* icon, Window* parent_window, StringView version)
: Dialog(parent_window)
, m_name(name)
, m_icon(icon)
@@ -58,7 +58,7 @@ AboutDialog::AboutDialog(const StringView& name, const Gfx::Bitmap* icon, Window
right_container.set_layout<VerticalBoxLayout>();
right_container.layout()->set_margins({ 12, 4, 4, 0 });
- auto make_label = [&](const StringView& text, bool bold = false) {
+ auto make_label = [&](StringView text, bool bold = false) {
auto& label = right_container.add<Label>(text);
label.set_text_alignment(Gfx::TextAlignment::CenterLeft);
label.set_fixed_height(14);