From 0ea64afe929d68645cc1c3c3824345dc37d9d42e Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sat, 25 Jul 2015 18:13:57 +0200 Subject: [PATCH] Fix type of default value for options. --- src/gui/FileDialog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/FileDialog.h b/src/gui/FileDialog.h index e2e848aad..2cb042c5e 100644 --- a/src/gui/FileDialog.h +++ b/src/gui/FileDialog.h @@ -27,10 +27,10 @@ class FileDialog public: QString getOpenFileName(QWidget* parent = Q_NULLPTR, const QString& caption = QString(), QString dir = QString(), const QString& filter = QString(), - QString* selectedFilter = Q_NULLPTR, QFileDialog::Options options = Q_NULLPTR); + QString* selectedFilter = Q_NULLPTR, QFileDialog::Options options = 0); QString getSaveFileName(QWidget* parent = Q_NULLPTR, const QString& caption = QString(), QString dir = QString(), const QString& filter = QString(), - QString* selectedFilter = Q_NULLPTR, QFileDialog::Options options = Q_NULLPTR); + QString* selectedFilter = Q_NULLPTR, QFileDialog::Options options = 0); /** * Sets the result of the next get* method call.