From: vsr Date: Thu, 25 Sep 2008 07:03:40 +0000 (+0000) Subject: Fix problem with default preferences type X-Git-Tag: V5_1_0a2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8cd5dc14f45efe37ec8fcd76e8410bc89f13a7c4;p=modules%2Fgui.git Fix problem with default preferences type --- diff --git a/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.h b/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.h index 6af84654d..539d2a48f 100644 --- a/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.h +++ b/src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.h @@ -116,7 +116,7 @@ public: int addGlobalPreference( const QString& ); int addPreference( const QString& ); - int addPreference( const QString&, const int, const int = -1, + int addPreference( const QString&, const int, const int = LightApp_Preferences::Auto, const QString& = QString(), const QString& = QString() ); QVariant preferenceProperty( const int, const QString& ) const;