summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxfilepicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxfilepicker.cpp')
-rw-r--r--src/plugins/platforms/qnx/qqnxfilepicker.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/platforms/qnx/qqnxfilepicker.cpp b/src/plugins/platforms/qnx/qqnxfilepicker.cpp
index cce7c44823..96ca531899 100644
--- a/src/plugins/platforms/qnx/qqnxfilepicker.cpp
+++ b/src/plugins/platforms/qnx/qqnxfilepicker.cpp
@@ -127,13 +127,7 @@ void QQnxFilePicker::open()
map[QStringLiteral("Filter")] = m_filters.join(QLatin1Char(';'));
QByteArray ppsData;
-#if defined(Q_OS_BLACKBERRY_TABLET)
- QJsonDocument document;
- document.setObject(QJsonObject::fromVariantMap(map));
- ppsData = document.toJson(QJsonDocument::Compact);
-#else
ppsData = QPpsObject::encode(map);
-#endif
errorCode = navigator_invoke_invocation_set_data(m_invocationHandle, ppsData.constData(), ppsData.size());
if (errorCode != BPS_SUCCESS) {