Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-22736

Status tip for wrong action in Menus example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 4.7.4
    • Examples and Demos
    • None
    • All
    • I2c3ff2fa45221f1cf4af8e4323c383c998adb650

    Description

      In the Menus example a status tip is set for wrong action. The status tip of the setParagraphSpacingAct is set for set ParagraphSpacingAct.

      The following change would fix the issue:

      --- 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()));
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mitch_curtis Mitch Curtis
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes