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/tooltips/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/widgets/doc/snippets/tooltips/main.cpp') diff --git a/src/widgets/doc/snippets/tooltips/main.cpp b/src/widgets/doc/snippets/tooltips/main.cpp index 94cc71f7118..f32a7fb86b1 100644 --- a/src/widgets/doc/snippets/tooltips/main.cpp +++ b/src/widgets/doc/snippets/tooltips/main.cpp @@ -29,7 +29,7 @@ private: Window::Window(QWidget *parent) : QMainWindow(parent) { -//! [action_tooltip] + //! [action_tooltip] QAction *openAction = new QAction(tr("&Open...")); openAction->setToolTip(tr("Open an existing file")); @@ -38,12 +38,12 @@ Window::Window(QWidget *parent) fileMenu->addAction(openAction); fileToolBar->addAction(openAction); -//! [action_tooltip] + //! [action_tooltip] -//! [static_tooltip] + //! [static_tooltip] searchBar = new SearchBar; searchBar->setToolTip(tr("Search in the current document")); -//! [static_tooltip] + //! [static_tooltip] fileToolBar->addWidget(searchBar); } -- cgit v1.2.3