summaryrefslogtreecommitdiff
path: root/tests/auto/widgets/graphicsview/qgraphicsscene
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2012-11-27 18:22:05 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-27 23:10:09 +0100
commita3fe4c633757abe39a1c8f8e8c2d840878b443f7 (patch)
tree273e6c6a657c395f6584fe61a69df179c812b499 /tests/auto/widgets/graphicsview/qgraphicsscene
parent226f245c71df5673b5114615fbd9ad5c285b8d3a (diff)
downloadqtbase-a3fe4c633757abe39a1c8f8e8c2d840878b443f7.tar.gz
GV auto tests: kill QWindowsStyle dependencies
Change-Id: I6236b7ca23897c5075bef21f5e62fe01f4cfc611 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Diffstat (limited to 'tests/auto/widgets/graphicsview/qgraphicsscene')
-rw-r--r--tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
index a4aa2a6e41..586dfedbf9 100644
--- a/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
+++ b/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp
@@ -3406,7 +3406,7 @@ void tst_QGraphicsScene::tabFocus_sceneWithNestedFocusWidgets()
void tst_QGraphicsScene::style()
{
- QPointer<QWindowsStyle> windowsStyle = new QWindowsStyle;
+ QPointer<QStyle> windowsStyle = QStyleFactory::create("windows");
QGraphicsScene scene;
QLineEdit *edit = new QLineEdit;