Details
-
Bug
-
Resolution: Done
-
P4: Low
-
4.5.1
-
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();
-