From 8cd5dc14f45efe37ec8fcd76e8410bc89f13a7c4 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 25 Sep 2008 07:03:40 +0000 Subject: [PATCH] Fix problem with default preferences type --- src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2