summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-05-29 11:24:02 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-09 07:29:37 (GMT)
commit669679d389ff0585bad30d41b085a4189d0e7a91 (patch)
tree2fb914309686db67a5c72de3716173e4f4bfc223 /src/gui
parentf582ed67c29e2406adeb0a52c7a68a51e0c2e8ee (diff)
downloadQt-669679d389ff0585bad30d41b085a4189d0e7a91.zip
Qt-669679d389ff0585bad30d41b085a4189d0e7a91.tar.gz
Qt-669679d389ff0585bad30d41b085a4189d0e7a91.tar.bz2
Ooops. Compile :)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/graphicsview/qgraphicsview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsview.cpp b/src/gui/graphicsview/qgraphicsview.cpp
index 369301e..354feae 100644
--- a/src/gui/graphicsview/qgraphicsview.cpp
+++ b/src/gui/graphicsview/qgraphicsview.cpp
@@ -3313,7 +3313,7 @@ void QGraphicsView::paintEvent(QPaintEvent *event)
int backgroundTime = stopWatch.elapsed() - exposedTime;
#endif
- static int directEnv = getenv("QGRAPHICSVIEW_DIRECT").toInt();
+ static int directEnv = qgetenv("QGRAPHICSVIEW_DIRECT").toInt();
if (directEnv || (d->optimizationFlags & BypassDrawItems)) {
d->scene->d_func()->drawSubtreeRecursive(0, &painter, viewTransform, viewTransform, exposedRegion,
viewport(), d->optimizationFlags);