summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp
diff options
context:
space:
mode:
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 5d6fff47fd5..7712362d575 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"));