summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2020-08-29 14:10:22 +0200
committerPaul Wicking <paul.wicking@qt.io>2020-09-01 06:13:08 +0200
commitb16b7d887980fbdbb2e12867e2d14b81c0361654 (patch)
treec751cf195a70c02ddaee4c57af50cda60cbdebff /src/gui/doc/snippets/textdocument-tables/mainwindow.cpp
parente81383eb0994a37b9489a2aebd0459e161dbeed2 (diff)
Doc: Compile textdocument-tables snippets
Minor code cleanup in passing. Task-number: QTBUG-81486 Change-Id: I23f8b3a22f627050582c69c81e5e0b85b5e45768 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-tables/mainwindow.cpp')
-rw-r--r--src/gui/doc/snippets/textdocument-tables/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp b/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp
index 5d6fff47fd..7712362d57 100644
--- a/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp
+++ b/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp
@@ -131,9 +131,9 @@ MainWindow::MainWindow()
}
//! [8]
- connect(saveAction, &QAction:triggered, this, &MainWindow::saveFile);
- connect(quitAction, &QAction:triggered, this, &MainWindow::close);
- connect(showTableAction, &QAction:triggered, this, &MainWindow::showTable);
+ connect(saveAction, &QAction::triggered, this, &MainWindow::saveFile);
+ connect(quitAction, &QAction::triggered, this, &MainWindow::close);
+ connect(showTableAction, &QAction::triggered, this, &MainWindow::showTable);
setCentralWidget(editor);
setWindowTitle(tr("Text Document Tables"));