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/sharedtablemodel/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/widgets/doc/snippets/sharedtablemodel/main.cpp') diff --git a/src/widgets/doc/snippets/sharedtablemodel/main.cpp b/src/widgets/doc/snippets/sharedtablemodel/main.cpp index 5789dadaec4..ab02094595d 100644 --- a/src/widgets/doc/snippets/sharedtablemodel/main.cpp +++ b/src/widgets/doc/snippets/sharedtablemodel/main.cpp @@ -39,15 +39,15 @@ int main(int argc, char *argv[]) TableModel *model = new TableModel(4, 2, &app); -//! [0] + //! [0] QTableView *firstTableView = new QTableView; QTableView *secondTableView = new QTableView; -//! [0] + //! [0] -//! [1] + //! [1] firstTableView->setModel(model); secondTableView->setModel(model); -//! [1] + //! [1] firstTableView->horizontalHeader()->setModel(model); @@ -58,9 +58,9 @@ int main(int argc, char *argv[]) } } -//! [2] + //! [2] secondTableView->setSelectionModel(firstTableView->selectionModel()); -//! [2] + //! [2] firstTableView->setWindowTitle("First table view"); secondTableView->setWindowTitle("Second table view"); -- cgit v1.2.3