summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-08-31 19:40:19 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-09-01 18:26:15 (GMT)
commit913a21aae513714217be233c6cecfb39212a4be8 (patch)
tree5703a92cefe285ea98b1fb189e49abc68aa2c545 /src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp
parentd6c197aa263ba7e98d29376fee95ec10125b8cf2 (diff)
downloadQt-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.cpp4
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);