diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-09-03 14:55:27 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-09-03 14:55:27 (GMT) |
commit | 67bdfe3360c3319f2cda7197f34272dd5e3439c9 (patch) | |
tree | 415bb59a1e6fbff823252d70efaa92aa63859663 /examples/tutorials/modelview | |
parent | 344ae27327b3fd36b0288636f41d73d91694eb02 (diff) | |
download | Qt-67bdfe3360c3319f2cda7197f34272dd5e3439c9.zip Qt-67bdfe3360c3319f2cda7197f34272dd5e3439c9.tar.gz Qt-67bdfe3360c3319f2cda7197f34272dd5e3439c9.tar.bz2 |
Fixed compilation of the modelview tutorial on Windows.
Reviewed-by: Trond
Diffstat (limited to 'examples/tutorials/modelview')
-rwxr-xr-x | examples/tutorials/modelview/2_formatting/mymodel.cpp | 2 |
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; |