diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-08-31 19:40:19 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-09-01 18:26:15 (GMT) |
commit | 913a21aae513714217be233c6cecfb39212a4be8 (patch) | |
tree | 5703a92cefe285ea98b1fb189e49abc68aa2c545 /src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp | |
parent | d6c197aa263ba7e98d29376fee95ec10125b8cf2 (diff) | |
download | Qt-913a21aae513714217be233c6cecfb39212a4be8.zip Qt-913a21aae513714217be233c6cecfb39212a4be8.tar.gz Qt-913a21aae513714217be233c6cecfb39212a4be8.tar.bz2 |
Make DirectFB compile with Qt in a namespace
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp index 2fb1520..896f512 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp @@ -121,8 +121,8 @@ QDirectFBMouseHandlerPrivate::QDirectFBMouseHandlerPrivate(QDirectFBMouseHandler return; } - int flags = ::fcntl(fd, F_GETFL, 0); - ::fcntl(fd, F_SETFL, flags | O_NONBLOCK); + int flags = fcntl(fd, F_GETFL, 0); + fcntl(fd, F_SETFL, flags | O_NONBLOCK); // DirectFB seems to assume that the mouse always starts centered prevPoint = QPoint(screen->deviceWidth() / 2, screen->deviceHeight() / 2); |