From 80eb628ea3428fac2c8ce9c9492df8e4d366d948 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Tue, 30 Jun 2020 09:59:42 +0200 Subject: [PATCH] Fixed naming of the dock area titlebar actions to be consistent --- src/DockAreaTitleBar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DockAreaTitleBar.cpp b/src/DockAreaTitleBar.cpp index 1541328..99f977a 100644 --- a/src/DockAreaTitleBar.cpp +++ b/src/DockAreaTitleBar.cpp @@ -577,12 +577,12 @@ void CDockAreaTitleBar::contextMenuEvent(QContextMenuEvent* ev) } QMenu Menu(this); - auto Action = Menu.addAction(tr("Detach Area"), this, SLOT(onUndockButtonClicked())); + auto Action = Menu.addAction(tr("Detach Group"), this, SLOT(onUndockButtonClicked())); Action->setEnabled(d->DockArea->features().testFlag(CDockWidget::DockWidgetFloatable)); Menu.addSeparator(); - Action = Menu.addAction(tr("Close Area"), this, SLOT(onCloseButtonClicked())); + Action = Menu.addAction(tr("Close Group"), this, SLOT(onCloseButtonClicked())); Action->setEnabled(d->DockArea->features().testFlag(CDockWidget::DockWidgetClosable)); - Menu.addAction(tr("Close Other Areas"), d->DockArea, SLOT(closeOtherAreas())); + Menu.addAction(tr("Close Other Groups"), d->DockArea, SLOT(closeOtherAreas())); Menu.exec(ev->globalPos()); }