From d234a6dd76faae6667ea30eb86af3ae669fec1ee Mon Sep 17 00:00:00 2001 From: asv Date: Thu, 26 Jan 2006 11:52:32 +0000 Subject: [PATCH] dirPath() was declared private (by mistake!). Now made public, as originally in QFileDialog.. --- src/SUIT/SUIT_FileDlg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SUIT/SUIT_FileDlg.h b/src/SUIT/SUIT_FileDlg.h index 48416b44b..fcdb7da13 100755 --- a/src/SUIT/SUIT_FileDlg.h +++ b/src/SUIT/SUIT_FileDlg.h @@ -45,6 +45,9 @@ public: void setValidator( SUIT_FileValidator* ); + QString dirPath() const; // QFileDialog::dirPath() has a bug on Linux Debian (1 level up from correct + // directory is returned). This redefinition fixes the bug. + static QString getFileName( QWidget* parent, const QString& initial, const QStringList& filters, const QString& caption, const bool open, const bool showQuickDir = true, SUIT_FileValidator* validator = 0 ); @@ -62,9 +65,6 @@ private: void addExtension(); bool processPath( const QString& path ); - QString dirPath() const; // QFileDialog::dirPath() has a bug on Linux Debian (1 level up from correct - // directory is returned). This redefinition fixes the bug. - protected slots: void accept(); void reject(); -- 2.39.2