summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_model-view-programming.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-02-02 16:30:43 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-02-03 15:42:57 (GMT)
commit68f78ba6be29b839433d924b5dc348d6d94b3d43 (patch)
tree0433de27e11ceaea37e4fc8ce8a9be2a84950716 /doc/src/snippets/code/doc_src_model-view-programming.cpp
parent2fc0d4ca43afb4072e92fd15648285c2c26d9da1 (diff)
downloadQt-68f78ba6be29b839433d924b5dc348d6d94b3d43.zip
Qt-68f78ba6be29b839433d924b5dc348d6d94b3d43.tar.gz
Qt-68f78ba6be29b839433d924b5dc348d6d94b3d43.tar.bz2
Fixed MIT-SHM errors in QNativeImage.
The POSIX standard doesn't allow attaching to IPC_RMID-flagged memory, even if Linux allows it, thus we need to wait until after calling XShmAttach and XSync before we set the flag. See the man page for shmctl(). Reviewed-by: Olivier Goffart
Diffstat (limited to 'doc/src/snippets/code/doc_src_model-view-programming.cpp')
0 files changed, 0 insertions, 0 deletions