aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-02-26 11:22:15 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2020-03-13 09:01:12 +0100
commitf3f845f2999f1635bc0469ef4ec1015e6d97736e (patch)
treeae6cbaccbc675e835a85e3d271198d76955657df /src
parent8178bd345530f9687d7f4159350b9337615bb3c0 (diff)
Remove QQmlFileSelector::setExtraSelectors overload
We only need the one taking a const reference. Change-Id: I9466e71495129bfccd5a70d93a6acbc43e25b2b4 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qml/qml/qqmlfileselector.cpp12
-rw-r--r--src/qml/qml/qqmlfileselector.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/src/qml/qml/qqmlfileselector.cpp b/src/qml/qml/qqmlfileselector.cpp
index 32dce8b4bc..396d500eac 100644
--- a/src/qml/qml/qqmlfileselector.cpp
+++ b/src/qml/qml/qqmlfileselector.cpp
@@ -173,18 +173,6 @@ void QQmlFileSelector::setSelector(QFileSelector *selector)
Use this when extra selectors are all you need to avoid having to create your own
QFileSelector instance.
*/
-void QQmlFileSelector::setExtraSelectors(QStringList &strings)
-{
- Q_D(QQmlFileSelector);
- d->selector->setExtraSelectors(strings);
-}
-
-
-/*!
- Adds extra selectors contained in \a strings to the current QFileSelector being used.
- Use this when extra selectors are all you need to avoid having to create your own
- QFileSelector instance.
-*/
void QQmlFileSelector::setExtraSelectors(const QStringList &strings)
{
Q_D(QQmlFileSelector);
diff --git a/src/qml/qml/qqmlfileselector.h b/src/qml/qml/qqmlfileselector.h
index 9b70e3936d..362a15a27e 100644
--- a/src/qml/qml/qqmlfileselector.h
+++ b/src/qml/qml/qqmlfileselector.h
@@ -58,7 +58,6 @@ public:
~QQmlFileSelector() override;
QFileSelector *selector() const Q_DECL_NOTHROW;
void setSelector(QFileSelector *selector);
- void setExtraSelectors(QStringList &strings); // TODO Qt6: remove
void setExtraSelectors(const QStringList &strings);
static QQmlFileSelector* get(QQmlEngine*);