summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-09-03 16:46:03 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-09-03 16:46:03 (GMT)
commit63e15bbb9666ab49305d45380f9f580fb0e168ca (patch)
tree37568d1cfc42032bd66cfcff1e361ddaaab735ec /examples
parenta4a8e0b6726e4d0ba6c4eb90508929a5b4d870ec (diff)
parent67bdfe3360c3319f2cda7197f34272dd5e3439c9 (diff)
downloadQt-63e15bbb9666ab49305d45380f9f580fb0e168ca.zip
Qt-63e15bbb9666ab49305d45380f9f580fb0e168ca.tar.gz
Qt-63e15bbb9666ab49305d45380f9f580fb0e168ca.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fixed compilation of the modelview tutorial on Windows. qdrawhelper: micro optimisation in fetchTransformBilinear Fix QStaticText copy constructor to also copy text option property qdrawhelper: Remove blend_transformed_bilinear_argb
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/tutorials/modelview/2_formatting/mymodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tutorials/modelview/2_formatting/mymodel.cpp b/examples/tutorials/modelview/2_formatting/mymodel.cpp
index 3e13ff4..2d2556c 100755
--- a/examples/tutorials/modelview/2_formatting/mymodel.cpp
+++ b/examples/tutorials/modelview/2_formatting/mymodel.cpp
@@ -89,7 +89,7 @@ QVariant MyModel::data(const QModelIndex &index, int role) const
if (row == 1 && col == 2) //change background only for cell(1,2)
{
- QBrush redBackground(QColor(Qt::red));
+ QBrush redBackground(Qt::red);
return redBackground;
}
break;