Fixed debug output issues and improved debug output for CDockWidget destructor

This commit is contained in:
Uwe Kindler 2024-01-04 08:30:17 +01:00
parent 46a5cee9c9
commit 5b23248fb8
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ void AutoHideTabPrivate::updateOrientation()
bool AutoHideTabPrivate::startFloating(eDragState DraggingState) bool AutoHideTabPrivate::startFloating(eDragState DraggingState)
{ {
auto DockArea = DockWidget->dockAreaWidget(); auto DockArea = DockWidget->dockAreaWidget();
ADS_PRINT("isFloating " << dockContainer->isFloating()); ADS_PRINT("isFloating " << dockContainer()->isFloating());
ADS_PRINT("startFloating"); ADS_PRINT("startFloating");
DragState = DraggingState; DragState = DraggingState;

View File

@ -382,7 +382,7 @@ CDockWidget::CDockWidget(const QString &title, QWidget *parent) :
//============================================================================ //============================================================================
CDockWidget::~CDockWidget() CDockWidget::~CDockWidget()
{ {
ADS_PRINT("~CDockWidget()"); ADS_PRINT("~CDockWidget(): " << this->windowTitle());
delete d; delete d;
} }