diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-07-14 10:11:39 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-07-15 10:40:40 +0200 |
commit | b62e22c1d965dae2e89aa050299b19e662ec6b28 (patch) | |
tree | 46da24e32036426c3b531d08ced9b5f29532025e /tests/manual/dialogs/filedialogpanel.h | |
parent | 0fe2713e260c8ecfa463a7075a6b9f1892000691 (diff) |
Fix current directory setting in manual dialog test.
It was always constructing a QUrl from the string causing the warning
"Non-native QFileDialog supports only local files" with the
new QUrl-based implementations of getOpenFileUrl(), etc.
Change-Id: Idd9bb432a48865df137f8f39f53014dda150ffe9
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/manual/dialogs/filedialogpanel.h')
-rw-r--r-- | tests/manual/dialogs/filedialogpanel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/dialogs/filedialogpanel.h b/tests/manual/dialogs/filedialogpanel.h index 8a9d93da03..0486af7bd4 100644 --- a/tests/manual/dialogs/filedialogpanel.h +++ b/tests/manual/dialogs/filedialogpanel.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the test suite of the Qt Toolkit. @@ -86,6 +86,7 @@ private slots: void useMimeTypeFilters(bool); private: + QUrl currentDirectoryUrl() const; QString filterString() const; QFileDialog::Options options() const; QStringList allowedSchemes() const; |