summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-04-15 09:49:30 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-04-24 06:43:54 (GMT)
commit3ab7dc5d764d41bf828dd76672ca2918b004bad3 (patch)
treecff56f4c9dd052c8623f69368b2cdc41526d1cb2 /src/gui/graphicsview
parent5423ba187c62ea861ccfcc013fb15fcc4a5ae28d (diff)
downloadQt-3ab7dc5d764d41bf828dd76672ca2918b004bad3.zip
Qt-3ab7dc5d764d41bf828dd76672ca2918b004bad3.tar.gz
Qt-3ab7dc5d764d41bf828dd76672ca2918b004bad3.tar.bz2
Remove the Direct3D engine.
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r--src/gui/graphicsview/qgraphicsview.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/graphicsview/qgraphicsview.cpp b/src/gui/graphicsview/qgraphicsview.cpp
index a9d585c..7720a10 100644
--- a/src/gui/graphicsview/qgraphicsview.cpp
+++ b/src/gui/graphicsview/qgraphicsview.cpp
@@ -2809,9 +2809,7 @@ void QGraphicsView::setupViewport(QWidget *widget)
const bool isGLWidget = widget->inherits("QGLWidget");
- d->accelerateScrolling = !(isGLWidget
- || widget->testAttribute(Qt::WA_MSWindowsUseDirect3D)
- || qApp->testAttribute(Qt::AA_MSWindowsUseDirect3DByDefault));
+ d->accelerateScrolling = !(isGLWidget);
widget->setFocusPolicy(Qt::StrongFocus);