From 7e57d539ffc90bd734a416ab9094409780b7bf52 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Thu, 23 Feb 2023 14:11:03 +0000 Subject: [PATCH] [Gui] Improve comments regarding move of widget --- src/Gui/ToolBarManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Gui/ToolBarManager.cpp b/src/Gui/ToolBarManager.cpp index 61d6de016b..9dc81a36d8 100644 --- a/src/Gui/ToolBarManager.cpp +++ b/src/Gui/ToolBarManager.cpp @@ -183,10 +183,10 @@ void ToolBarManager::setup(ToolBarItem* toolBarItems) if (!_ActionWidget) { _ActionWidget = new QWidget(getMainWindow()); _ActionWidget->setObjectName(QStringLiteral("_fc_action_widget_")); - // Although _ActionWidget has zero size, on MacOS it somehow has a - // 'phantom' size without any visible content and will block the top - // left tool buttons of the application main window. So we move it out - // of the way. + /* 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. */ _ActionWidget->move(QPoint(-100,-100)); } else {