From: asv Date: Thu, 26 Jan 2006 11:52:32 +0000 (+0000) Subject: dirPath() was declared private (by mistake!). Now made public, as originally in... X-Git-Tag: SPDev_start~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d234a6dd76faae6667ea30eb86af3ae669fec1ee;p=modules%2Fgui.git dirPath() was declared private (by mistake!). Now made public, as originally in QFileDialog.. --- 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();