summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qclipboard
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-09-10 19:51:38 +0200
committerLars Knoll <lars.knoll@qt.io>2020-09-21 14:56:09 +0200
commit848927b688d4709d0b71590518e2c32fe7866147 (patch)
tree67c7db42436563299ab8fc713dbc91ce31eaf508 /tests/auto/gui/kernel/qclipboard
parentcf015cd08bc7a977b6bacac3575952a77e0c0cad (diff)
Cleanup API of QMimeData
Do not use QVariant::Type anymore, instead use QMetaType For some reason, this pushed the qvariant autotest over the limit where MSVC requires the /bigobj flag, so add that one. [ChangeLog][QtCore][QMimeData] The signature of the virtual retrieveData() function has changed and now takes a QMetaType instead of a QVariant::Type. Change-Id: Ib46773bd731ee2177b1ef74d8162d744be7017ef Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/gui/kernel/qclipboard')
-rw-r--r--tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp b/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp
index d4917899db..0df949acba 100644
--- a/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp
+++ b/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp
@@ -473,7 +473,7 @@ public:
return false;
}
- QVariant convertToMime(const QString &, IDataObject *, QVariant::Type) const override
+ QVariant convertToMime(const QString &, IDataObject *, QMetaType) const override
{
return QVariant();
}