From 8a7945c9f2f71a6d6c97a7157bd064de19a2afc1 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Thu, 9 Mar 2023 12:40:59 +0000 Subject: [PATCH] [Gui] Add TODO reference hack --- src/Gui/ToolBarManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Gui/ToolBarManager.cpp b/src/Gui/ToolBarManager.cpp index 9dc81a36d8..152cf2562c 100644 --- a/src/Gui/ToolBarManager.cpp +++ b/src/Gui/ToolBarManager.cpp @@ -183,7 +183,9 @@ void ToolBarManager::setup(ToolBarItem* toolBarItems) if (!_ActionWidget) { _ActionWidget = new QWidget(getMainWindow()); _ActionWidget->setObjectName(QStringLiteral("_fc_action_widget_")); - /* Although _ActionWidget has zero size, it somehow has a + /* TODO This is a temporary hack until a longterm solution + is found, thanks to @realthunder for this pointer. + Although _ActionWidget has zero size, it somehow has a 'phantom' size without any visible content and will block the top left tool buttons and menus of the application main window. Therefore it is moved out of the way. */