summaryrefslogtreecommitdiff
path: root/LibGUI/GToolBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibGUI/GToolBar.cpp')
-rw-r--r--LibGUI/GToolBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGUI/GToolBar.cpp b/LibGUI/GToolBar.cpp
index 3acc17108d..53e50ec093 100644
--- a/LibGUI/GToolBar.cpp
+++ b/LibGUI/GToolBar.cpp
@@ -79,5 +79,5 @@ void GToolBar::paint_event(GPaintEvent& event)
{
GPainter painter(*this);
painter.set_clip_rect(event.rect());
- StylePainter::the().paint_surface(painter, rect());
+ StylePainter::the().paint_surface(painter, rect(), !spans_entire_window_horizontally());
}