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

demos/spreadsheet: context menu missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 4.7.0
    • 4.5.1
    • Documentation
    • None
    • ca89d8dc944e7af886c3b31c9d23c8957e5667ab

    Description

      Open Spreadsheet demo and right-click on a cell.
      A context menu should pop up, but it doesn't.

      I've included a trivial patch that seems to solve the problem.
      Apply this patch to demos/spreadsheet/spreadsheet.cpp and the context
      menu seems to work fine.

      Apologies if the patch doesn't cleanly apply; I originally submitted the bug on
      via the Trolltech bug tracker and was told to resubmit; I had to copy-paste
      and clean up a bit so I might have messed up the spacing.

      $ diff -c3 spreadsheet.cpp spreadsheet.cpp.new

          • spreadsheet.cpp Fri Sep 18 11:22:47 2009
          • spreadsheet.cpp.new Fri Sep 18 11:23:04 2009
            ***************
          • 70,75 ****
          • 70,76 ----
            updateColor(0);
            setupMenuBar();
            setupContents();
            + setupContextMenu();
            setCentralWidget(table);
            statusBar();

      Attachments

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

        Activity

          People

            boddie David Boddie (Inactive)
            khedron John Wye
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes