]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix problem with default preferences type
authorvsr <vsr@opencascade.com>
Thu, 25 Sep 2008 07:03:40 +0000 (07:03 +0000)
committervsr <vsr@opencascade.com>
Thu, 25 Sep 2008 07:03:40 +0000 (07:03 +0000)
src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.h

index 6af84654df63a699c267b899e766a1c894a6097e..539d2a48ff7b5548e0cb603f9098973c58fc1e5c 100644 (file)
@@ -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;