]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
dirPath() was declared private (by mistake!). Now made public, as originally in...
authorasv <asv@opencascade.com>
Thu, 26 Jan 2006 11:52:32 +0000 (11:52 +0000)
committerasv <asv@opencascade.com>
Thu, 26 Jan 2006 11:52:32 +0000 (11:52 +0000)
src/SUIT/SUIT_FileDlg.h

index 48416b44b643ce4e59c0be811059c017a2196c79..fcdb7da1351a64669481561031ea4d181b1060f1 100755 (executable)
@@ -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();