From bb19bd3b612bfb82a4d42b5ec085185c05ae4f72 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 24 Jul 2012 12:56:12 +0200 Subject: Correct status tips for Menus example. Line spacing's status tip is incorrectly set to paragraph spacing's, and paragraph spacing's status tip is not set at all. Task-number: QTBUG-22736 Change-Id: I2c3ff2fa45221f1cf4af8e4323c383c998adb650 Reviewed-by: Jerome Pasion Reviewed-by: Michalina Ziemba --- examples/mainwindows/menus/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/mainwindows/menus/mainwindow.cpp b/examples/mainwindows/menus/mainwindow.cpp index f03f38788e..e1f3a0c099 100644 --- a/examples/mainwindows/menus/mainwindow.cpp +++ b/examples/mainwindows/menus/mainwindow.cpp @@ -276,7 +276,7 @@ void MainWindow::createActions() connect(setLineSpacingAct, SIGNAL(triggered()), this, SLOT(setLineSpacing())); setParagraphSpacingAct = new QAction(tr("Set &Paragraph Spacing..."), this); - setLineSpacingAct->setStatusTip(tr("Change the gap between paragraphs")); + setParagraphSpacingAct->setStatusTip(tr("Change the gap between paragraphs")); connect(setParagraphSpacingAct, SIGNAL(triggered()), this, SLOT(setParagraphSpacing())); -- cgit v1.2.3