From fac81265bf84b1739bd202ae296db4ac813d3626 Mon Sep 17 00:00:00 2001 From: Syarif Fakhri Date: Thu, 8 Sep 2022 16:30:07 +0800 Subject: [PATCH] Whitespace changes only --- src/OverlayDockContainer.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/OverlayDockContainer.cpp b/src/OverlayDockContainer.cpp index 9b6486b..22ea633 100644 --- a/src/OverlayDockContainer.cpp +++ b/src/OverlayDockContainer.cpp @@ -224,6 +224,7 @@ void COverlayDockContainer::moveContentsToParent() cleanupAndDelete(); } + //============================================================================ void COverlayDockContainer::cleanupAndDelete() { @@ -238,6 +239,8 @@ void COverlayDockContainer::cleanupAndDelete() deleteLater(); } + +//============================================================================ void COverlayDockContainer::saveState(QXmlStreamWriter& s) { s.writeAttribute("SideTabBarArea", QString::number(sideTabBarArea())); @@ -250,6 +253,8 @@ void COverlayDockContainer::saveState(QXmlStreamWriter& s) s.writeAttribute("Sizes", Sizes.join(" ")); } + +//============================================================================ bool COverlayDockContainer::restoreState(CDockingStateReader& s, bool Testing) { auto sSizes = s.attributes().value("Sizes").trimmed().toString(); @@ -276,6 +281,8 @@ bool COverlayDockContainer::restoreState(CDockingStateReader& s, bool Testing) return true; } + +//============================================================================ bool COverlayDockContainer::areaExistsInConfig(CDockWidgetSideTab::SideTabBarArea area) { if (area == CDockWidgetSideTab::Left && !CDockManager::testConfigFlag(CDockManager::DockContainerHasLeftSideBar)) @@ -290,6 +297,7 @@ bool COverlayDockContainer::areaExistsInConfig(CDockWidgetSideTab::SideTabBarAre return true; } + //============================================================================ bool COverlayDockContainer::eventFilter(QObject* watched, QEvent* event) { @@ -301,12 +309,14 @@ bool COverlayDockContainer::eventFilter(QObject* watched, QEvent* event) return QWidget::eventFilter(watched, event); } + //============================================================================ void COverlayDockContainer::mousePressEvent(QMouseEvent* event) { QWidget::mousePressEvent(event); } + //============================================================================ void COverlayDockContainer::resizeEvent(QResizeEvent* event) {