summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-04-24 15:21:30 +0100
committerAndreas Kling <kling@serenityos.org>2020-04-24 17:00:00 +0200
commitd86d73f6e85d85950fcd566710543628ebef490f (patch)
treecb14d6f4f150de17ada94ba34cb3f6f8032afa2d /Applications
parent5c2bdbf27fa1ea05d2690086306d269dd7f6922c (diff)
downloadserenity-d86d73f6e85d85950fcd566710543628ebef490f.zip
QuickShow: Hide toolbar container in fullscreen mode
If we just hide the toolbar itself, its container is still visible and taking up space at the top of the screen.
Diffstat (limited to 'Applications')
-rw-r--r--Applications/QuickShow/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/QuickShow/main.cpp b/Applications/QuickShow/main.cpp
index f57eebc6c6..dc0c85ca06 100644
--- a/Applications/QuickShow/main.cpp
+++ b/Applications/QuickShow/main.cpp
@@ -193,7 +193,7 @@ int main(int argc, char** argv)
auto full_sceen_action = GUI::CommonActions::make_fullscreen_action(
[&](auto&) {
window->set_fullscreen(!window->is_fullscreen());
- main_toolbar.set_visible(!window->is_fullscreen());
+ toolbar_container.set_visible(!window->is_fullscreen());
});
auto zoom_in_action = GUI::Action::create("Zoom In", { Mod_None, Key_Plus }, Gfx::Bitmap::load_from_file("/res/icons/16x16/zoom-in.png"),