[Gui] Add TODO reference hack

This commit is contained in:
Syres916
2023-03-09 12:40:59 +00:00
committed by wwmayer
parent 322c1e4ddb
commit 8a7945c9f2

View File

@@ -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. */