summaryrefslogtreecommitdiff
path: root/Applications/About
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/About')
-rw-r--r--Applications/About/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Applications/About/main.cpp b/Applications/About/main.cpp
index e89a903c14..8b29c89b3c 100644
--- a/Applications/About/main.cpp
+++ b/Applications/About/main.cpp
@@ -34,7 +34,7 @@ int main(int argc, char** argv)
label->set_font(Font::default_bold_font());
label->set_text("Serenity Operating System");
label->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
- label->set_preferred_size({ 0, 11 });
+ label->set_preferred_size(0, 11);
utsname uts;
int rc = uname(&uts);
@@ -43,12 +43,12 @@ int main(int argc, char** argv)
auto* version_label = new GLabel(widget);
version_label->set_text(String::format("Version %s", uts.release));
version_label->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
- version_label->set_preferred_size({ 0, 11 });
+ version_label->set_preferred_size(0, 11);
auto* quit_button = new GButton(widget);
quit_button->set_text("Okay");
quit_button->set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed);
- quit_button->set_preferred_size({ 100, 20 });
+ quit_button->set_preferred_size(100, 20);
quit_button->on_click = [](GButton&) {
GApplication::the().quit(0);
};