summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformdialoghelper.h
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@idiap.ch>2018-09-29 00:14:14 +0200
committerSamuel Gaist <samuel.gaist@idiap.ch>2019-01-26 19:52:39 +0000
commit5ae8fcd17bda45177ae7f65bf1c9f25f30706bb4 (patch)
treeddd19ae5f121c631bace7535414a8111ab2e18b0 /src/gui/kernel/qplatformdialoghelper.h
parent2955afdf31e94eff79121acc7085a19c035a6dbe (diff)
Migrate QPlatformDialogHelper to QRegularExpression
This patch updates the QPlatformDialogHelper class to use QRegularExpression in place of QRegExp which is to be considered deprecated. Change-Id: I8a79c5425217d18a3210c87f7f505b1aa288801d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformdialoghelper.h')
-rw-r--r--src/gui/kernel/qplatformdialoghelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformdialoghelper.h b/src/gui/kernel/qplatformdialoghelper.h
index 0832e19dc3..f09bec12da 100644
--- a/src/gui/kernel/qplatformdialoghelper.h
+++ b/src/gui/kernel/qplatformdialoghelper.h
@@ -414,7 +414,7 @@ public:
void setOptions(const QSharedPointer<QFileDialogOptions> &options);
static QStringList cleanFilterList(const QString &filter);
- static const char *filterRegExp;
+ static const char filterRegExp[];
Q_SIGNALS:
void fileSelected(const QUrl &file);