summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qwidget
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-06-08 07:46:35 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2018-06-08 07:46:35 +0000
commit49c93774212904291bc2df008b265323ec55e62e (patch)
treefc777e42097d13618e291a9f35b1cb453b7bd16d /tests/auto/widgets/kernel/qwidget
parent92e472302a0ef8390f60fd91cac7f360b199a1e4 (diff)
parent096e37910d93f9c52976600e985c615ea36fe291 (diff)
Merge "Merge remote-tracking branch 'origin/5.11' into dev" into refs/staging/dev
Diffstat (limited to 'tests/auto/widgets/kernel/qwidget')
-rw-r--r--tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
index e1577abc38..44b0b53b79 100644
--- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
+++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
@@ -171,7 +171,7 @@ private slots:
void enabledPropagation();
void ignoreKeyEventsWhenDisabled_QTBUG27417();
void properTabHandlingWhenDisabled_QTBUG27417();
-#ifndef QT_NO_DRAGANDDROP
+#if QT_CONFIG(draganddrop)
void acceptDropsPropagation();
#endif
void isEnabledTo();
@@ -1047,7 +1047,7 @@ void tst_QWidget::properTabHandlingWhenDisabled_QTBUG27417()
}
// Drag'n drop disabled in this build.
-#ifndef QT_NO_DRAGANDDROP
+#if QT_CONFIG(draganddrop)
void tst_QWidget::acceptDropsPropagation()
{
QScopedPointer<QWidget> testWidget(new QWidget);