summaryrefslogtreecommitdiff
path: root/src/dialogs/qquickabstractfiledialog_p.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@theqtcompany.com>2015-03-03 14:06:39 +0100
committerRichard Moe Gustavsen <richard.gustavsen@theqtcompany.com>2015-03-18 09:20:40 +0000
commitbb95b8e3eb464d26ab3e78b49c8276277c929470 (patch)
treead9f5343e35089a2ad7fdb7e4f693a41958ccbb7 /src/dialogs/qquickabstractfiledialog_p.h
parentcbd066616b0b24fb8003323b467a3269b7edb602 (diff)
downloadqtquickcontrols-bb95b8e3eb464d26ab3e78b49c8276277c929470.tar.gz
Dialogs: override selectedUrls in QQPlatformfiledialog
Rather than checking if a dialog helper is in use in QAbstractFileDialog, we override selectedUrls in QQuickPlatformFileDialog. Otherwise the version in QQuickFileDialog will be called first, which tries to return selectedUrls from the QML version (which might not be in use). Change-Id: If61647078ed2dd535384dcea67767bfc729edfe0 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/dialogs/qquickabstractfiledialog_p.h')
-rw-r--r--src/dialogs/qquickabstractfiledialog_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/qquickabstractfiledialog_p.h b/src/dialogs/qquickabstractfiledialog_p.h
index 054afbfe..c7320fd1 100644
--- a/src/dialogs/qquickabstractfiledialog_p.h
+++ b/src/dialogs/qquickabstractfiledialog_p.h
@@ -84,7 +84,7 @@ public:
QStringList selectedNameFilterExtensions() const;
int selectedNameFilterIndex() const;
QUrl fileUrl() const;
- virtual QList<QUrl> fileUrls() const;
+ virtual QList<QUrl> fileUrls() const = 0;
bool sidebarVisible() const { return m_sidebarVisible; }
public Q_SLOTS: