diff options
Diffstat (limited to 'tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp')
-rw-r--r-- | tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp b/tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp index e080af1e3d..ff9bf6a683 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsview/tst_qgraphicsview.cpp @@ -205,7 +205,7 @@ private slots: void resizeAnchor(); void viewportUpdateMode(); void viewportUpdateMode2(); -#ifndef QT_NO_DRAGANDDROP +#if QT_CONFIG(draganddrop) void acceptDrops(); #endif void optimizationFlags(); @@ -2566,7 +2566,7 @@ void tst_QGraphicsView::viewportUpdateMode2() #endif } -#ifndef QT_NO_DRAGANDDROP +#if QT_CONFIG(draganddrop) void tst_QGraphicsView::acceptDrops() { QGraphicsView view; |