summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-03-04 19:39:04 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-03-04 19:39:04 (GMT)
commitca89d8dc944e7af886c3b31c9d23c8957e5667ab (patch)
tree3ec2227c8bffc8b240a30cc63893e8fc6f9e79b8 /demos
parent2542f8b565e90378145c048b3a6982f4749c6392 (diff)
downloadQt-ca89d8dc944e7af886c3b31c9d23c8957e5667ab.zip
Qt-ca89d8dc944e7af886c3b31c9d23c8957e5667ab.tar.gz
Qt-ca89d8dc944e7af886c3b31c9d23c8957e5667ab.tar.bz2
Doc: Enabled the context menu in the spreadsheet demo.
Task-number: QTBUG-5522 Reviewed-by: Trust Me
Diffstat (limited to 'demos')
-rw-r--r--demos/spreadsheet/spreadsheet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/spreadsheet/spreadsheet.cpp b/demos/spreadsheet/spreadsheet.cpp
index 9693f3c..f2a1738 100644
--- a/demos/spreadsheet/spreadsheet.cpp
+++ b/demos/spreadsheet/spreadsheet.cpp
@@ -70,6 +70,7 @@ SpreadSheet::SpreadSheet(int rows, int cols, QWidget *parent)
updateColor(0);
setupMenuBar();
setupContents();
+ setupContextMenu();
setCentralWidget(table);
statusBar();