diff options
author | Andy Shaw <andy.shaw@digia.com> | 2013-10-07 16:01:53 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-12 12:37:50 +0200 |
commit | 64332372a133d4c37d3ca8d85c04427386c35300 (patch) | |
tree | 79ed7e774b05c4d067b1c2674b611cbfa833dd53 /src/plugins/platforms/qnx/qqnxwindow.cpp | |
parent | 5c87044870752ba9506d7f1d6a0b3de13e72c45f (diff) |
Don't rely on the Qt version when reading a QHeaderView state stream
Since the datastream version is not set in previous versions of Qt when
streaming the state of the QHeaderView then we cannot rely on this when
adding new data to the state. Therefore we check if we read past the
end before assigning to the new variable.
Change-Id: I7128ffc91e47f9c8797cfa24d206a789d2814908
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxwindow.cpp')
0 files changed, 0 insertions, 0 deletions