From 5b23248fb8fec50d39d81c9b6a0d549dce4ffba2 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Thu, 4 Jan 2024 08:30:17 +0100 Subject: [PATCH] Fixed debug output issues and improved debug output for CDockWidget destructor --- src/AutoHideTab.cpp | 2 +- src/DockWidget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoHideTab.cpp b/src/AutoHideTab.cpp index f20fb11..248a6d1 100644 --- a/src/AutoHideTab.cpp +++ b/src/AutoHideTab.cpp @@ -174,7 +174,7 @@ void AutoHideTabPrivate::updateOrientation() bool AutoHideTabPrivate::startFloating(eDragState DraggingState) { auto DockArea = DockWidget->dockAreaWidget(); - ADS_PRINT("isFloating " << dockContainer->isFloating()); + ADS_PRINT("isFloating " << dockContainer()->isFloating()); ADS_PRINT("startFloating"); DragState = DraggingState; diff --git a/src/DockWidget.cpp b/src/DockWidget.cpp index d89ef00..c4cf93f 100644 --- a/src/DockWidget.cpp +++ b/src/DockWidget.cpp @@ -382,7 +382,7 @@ CDockWidget::CDockWidget(const QString &title, QWidget *parent) : //============================================================================ CDockWidget::~CDockWidget() { - ADS_PRINT("~CDockWidget()"); + ADS_PRINT("~CDockWidget(): " << this->windowTitle()); delete d; }