summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-05-07 22:42:49 +0100
committerLinus Groh <mail@linusgroh.de>2022-05-07 23:46:41 +0200
commit875093e6a9003a0d64e1f5eac0e1936edd1d3c8f (patch)
tree6a93ab44628cfb2e42c8519e3aa67e03c72ee189 /Userland/Applications/DisplaySettings
parent6ea89c35febf6e3480f1306d34cf4fd70a99a878 (diff)
downloadserenity-875093e6a9003a0d64e1f5eac0e1936edd1d3c8f.zip
DisplaySettings: Fix Clang build failure in ThemePreviewWidget
Diffstat (limited to 'Userland/Applications/DisplaySettings')
-rw-r--r--Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp b/Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp
index 25a34737ac..6e4bb77e1b 100644
--- a/Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp
+++ b/Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp
@@ -32,8 +32,10 @@ void ThemePreviewWidget::paint_preview(GUI::PaintEvent&)
auto inactive_window_rect = active_window_rect.translated(-8, -32);
auto message_box = active_window_rect.shrunken(100, 60);
- Array<Window, 3> window_group {
- active_window_rect, inactive_window_rect, message_box
+ Array window_group {
+ Window { active_window_rect },
+ Window { inactive_window_rect },
+ Window { message_box }
};
center_window_group_within(window_group, frame_inner_rect());