summaryrefslogtreecommitdiffstats
path: root/demos/spreadsheet/spreadsheet.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-15 08:34:34 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-15 08:39:49 (GMT)
commit9ea66fb4d1e1ad36bcd1a0e4b7e7de348273e8ff (patch)
treec3a72dcdae324b6ef1b1a1e326a72f521ab2e40a /demos/spreadsheet/spreadsheet.cpp
parenta814aba657288942b5beed70a2110446420f981c (diff)
downloadQt-9ea66fb4d1e1ad36bcd1a0e4b7e7de348273e8ff.zip
Qt-9ea66fb4d1e1ad36bcd1a0e4b7e7de348273e8ff.tar.gz
Qt-9ea66fb4d1e1ad36bcd1a0e4b7e7de348273e8ff.tar.bz2
Spreadsheet demo: fix the footer color.
One of the footer cell lost his gray color in commit 7c12258485db8d Task-number: QTBUG-4821 Reviewed-by: Jan-Arve
Diffstat (limited to 'demos/spreadsheet/spreadsheet.cpp')
-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 7f057a2..00045c6 100644
--- a/demos/spreadsheet/spreadsheet.cpp
+++ b/demos/spreadsheet/spreadsheet.cpp
@@ -523,6 +523,7 @@ void SpreadSheet::setupContents()
table->setItem(8, 2, new SpreadSheetItem("1240"));
table->setItem(9, 2, new SpreadSheetItem());
+ table->item(9, 2)->setBackgroundColor(Qt::lightGray);
// column 3
table->setItem(0, 3, new SpreadSheetItem("Currency"));