From 1cf7d9f34f1bc3ddc5fa97ff57a95dd8083f9ae8 Mon Sep 17 00:00:00 2001 From: Oleksii Zbykovskyi Date: Wed, 6 Aug 2025 14:53:56 +0200 Subject: Fix indentation issues in the widgets snippets folder Most of the snippets in widgets have indentation problems. So I refactored them to have a consistent indentation. Change-Id: I94422c222aa7a72cb2352f8cfb41ffe207c74904 Reviewed-by: Volker Hilsheimer --- src/widgets/doc/snippets/dockwidgets/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widgets/doc/snippets/dockwidgets/mainwindow.cpp') diff --git a/src/widgets/doc/snippets/dockwidgets/mainwindow.cpp b/src/widgets/doc/snippets/dockwidgets/mainwindow.cpp index d0b52125ea2..5126d3266a1 100644 --- a/src/widgets/doc/snippets/dockwidgets/mainwindow.cpp +++ b/src/widgets/doc/snippets/dockwidgets/mainwindow.cpp @@ -71,7 +71,7 @@ void MainWindow::setupContents() void MainWindow::setupDockWindow() { -//! [0] + //! [0] contentsWindow = new QDockWidget(tr("Table of Contents"), this); contentsWindow->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea); @@ -79,7 +79,7 @@ void MainWindow::setupDockWindow() headingList = new QListWidget(contentsWindow); contentsWindow->setWidget(headingList); -//! [0] + //! [0] } void MainWindow::setupMenus() -- cgit v1.2.3