From 5e59a6dc3a44be277892da0186eaea068262c873 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Thu, 3 Nov 2022 16:49:20 +0100 Subject: [PATCH] Removed debug output --- src/AutoHideDockContainer.cpp | 1 - src/AutoHideSideBar.cpp | 4 +--- src/AutoHideTab.cpp | 2 +- src/DockAreaTitleBar.cpp | 2 -- src/DockAreaWidget.cpp | 1 - src/FloatingDockContainer.cpp | 1 - 6 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/AutoHideDockContainer.cpp b/src/AutoHideDockContainer.cpp index 6033596..f38c2f9 100644 --- a/src/AutoHideDockContainer.cpp +++ b/src/AutoHideDockContainer.cpp @@ -277,7 +277,6 @@ void CAutoHideDockContainer::updateSize() //============================================================================ CAutoHideDockContainer::~CAutoHideDockContainer() { - qDebug() << "~CAutoHideDockContainer()" ADS_PRINT("~CAutoHideDockContainer"); // Remove event filter in case there are any queued messages diff --git a/src/AutoHideSideBar.cpp b/src/AutoHideSideBar.cpp index fdb98ed..066c060 100644 --- a/src/AutoHideSideBar.cpp +++ b/src/AutoHideSideBar.cpp @@ -193,8 +193,6 @@ CAutoHideSideBar::CAutoHideSideBar(CDockContainerWidget* parent, SideBarLocation setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding); } - qDebug() << "d->TabsLayout->count " << d->TabsLayout->count(); - hide(); } @@ -202,7 +200,7 @@ CAutoHideSideBar::CAutoHideSideBar(CDockContainerWidget* parent, SideBarLocation //============================================================================ CAutoHideSideBar::~CAutoHideSideBar() { - qDebug() << "~CSideTabBar() "; + ADS_PRINT("~CSideTabBar()"); // The SideTabeBar is not the owner of the tabs and to prevent deletion // we set the parent here to nullptr to remove it from the children auto Tabs = findChildren(QString(), Qt::FindDirectChildrenOnly); diff --git a/src/AutoHideTab.cpp b/src/AutoHideTab.cpp index b8fbb2c..85a17f8 100644 --- a/src/AutoHideTab.cpp +++ b/src/AutoHideTab.cpp @@ -147,7 +147,7 @@ CAutoHideTab::CAutoHideTab(QWidget* parent) : //============================================================================ CAutoHideTab::~CAutoHideTab() { - qDebug() << "~CDockWidgetSideTab()"; + ADS_PRINT("~CDockWidgetSideTab()"); delete d; } diff --git a/src/DockAreaTitleBar.cpp b/src/DockAreaTitleBar.cpp index ed06c18..91737c2 100644 --- a/src/DockAreaTitleBar.cpp +++ b/src/DockAreaTitleBar.cpp @@ -513,7 +513,6 @@ void CDockAreaTitleBar::onAutoHideButtonClicked() } else { - qDebug() << "d->DockArea->currentDockWidget()->toggleAutoHide()"; d->DockArea->currentDockWidget()->toggleAutoHide(); } } @@ -529,7 +528,6 @@ void CDockAreaTitleBar::onAutoHideDockAreaActionClicked() //============================================================================ void CDockAreaTitleBar::onAutoHideToActionClicked() { - qDebug() << "CDockAreaTitleBar::onAutoHideToActionClicked()"; int Location = sender()->property(LocationProperty).toInt(); d->DockArea->toggleAutoHide((SideBarLocation)Location); } diff --git a/src/DockAreaWidget.cpp b/src/DockAreaWidget.cpp index 1697ad6..5d7df44 100644 --- a/src/DockAreaWidget.cpp +++ b/src/DockAreaWidget.cpp @@ -984,7 +984,6 @@ bool CDockAreaWidget::restoreState(CDockingStateReader& s, CDockAreaWidget*& Cre // We hide the DockArea here to prevent the short display (the flashing) // of the dock areas during application startup DockArea->hide(); - qDebug() << "DockArea->addDockWidget " << DockWidget->windowTitle(); DockArea->addDockWidget(DockWidget); DockWidget->setToggleViewActionChecked(!Closed); DockWidget->setClosedState(Closed); diff --git a/src/FloatingDockContainer.cpp b/src/FloatingDockContainer.cpp index 571c5f1..2152b6b 100644 --- a/src/FloatingDockContainer.cpp +++ b/src/FloatingDockContainer.cpp @@ -721,7 +721,6 @@ CFloatingDockContainer::CFloatingDockContainer(CDockWidget *DockWidget) : //============================================================================ CFloatingDockContainer::~CFloatingDockContainer() { - qDebug() << "~CFloatingDockContainer " << windowTitle(); ADS_PRINT("~CFloatingDockContainer"); if (d->DockManager) {