We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0d899 commit 0270993Copy full SHA for 0270993
src/DockWidgetTab.cpp
@@ -407,7 +407,7 @@ void CDockWidgetTab::mouseReleaseEvent(QMouseEvent* ev)
407
}
408
else if (ev->button() == Qt::MiddleButton)
409
{
410
- if (CDockManager::testConfigFlag(CDockManager::MiddleMouseButtonClosesTab) && dockWidget->features().testFlag(CDockWidget::DockWidgetClosable))
+ if (CDockManager::testConfigFlag(CDockManager::MiddleMouseButtonClosesTab) && d->DockWidget->features().testFlag(CDockWidget::DockWidgetClosable))
411
412
// Only attempt to close if the mouse is still
413
// on top of the widget, to allow the user to cancel.
0 commit comments