diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-15 09:49:30 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-24 06:43:54 (GMT) |
commit | 3ab7dc5d764d41bf828dd76672ca2918b004bad3 (patch) | |
tree | cff56f4c9dd052c8623f69368b2cdc41526d1cb2 /src/gui/graphicsview | |
parent | 5423ba187c62ea861ccfcc013fb15fcc4a5ae28d (diff) | |
download | Qt-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.cpp | 4 |
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); |