summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>2013-11-28 17:18:37 -0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-01 01:58:18 +0100
commit2e7a90bac15ab486475884600bd55d8a04da35a0 (patch)
tree120ef91154ed28eca3f14324b429773fbf3413d2 /src
parentf60e38391764bf1f8d3d747472b302b1bfbdc469 (diff)
BlackBerry: properly clean up QFileDialog files
Task-number: QTBUG-34983 Change-Id: I1af5c6a9c43eba77394b11d31d1d223af8bc221f Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/qnx/qqnxfilepicker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxfilepicker.cpp b/src/plugins/platforms/qnx/qqnxfilepicker.cpp
index 5229d1f1f5..56c804a5b4 100644
--- a/src/plugins/platforms/qnx/qqnxfilepicker.cpp
+++ b/src/plugins/platforms/qnx/qqnxfilepicker.cpp
@@ -84,6 +84,9 @@ void QQnxFilePicker::open()
if (m_invocationHandle)
return;
+ // Clear any previous results
+ m_selectedFiles.clear();
+
int errorCode = BPS_SUCCESS;
errorCode = navigator_invoke_invocation_create(&m_invocationHandle);