Correct status tips for Menus example.
authorMitch Curtis <mitch.curtis@nokia.com>
Tue, 24 Jul 2012 10:56:12 +0000 (12:56 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 25 Jul 2012 11:46:07 +0000 (13:46 +0200)
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 <jerome.pasion@nokia.com>
Reviewed-by: Michalina Ziemba <michalina.ziemba@nokia.com>
examples/mainwindows/menus/mainwindow.cpp

index f03f387..e1f3a0c 100644 (file)
@@ -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()));