From: abd Date: Mon, 6 Aug 2007 12:54:43 +0000 (+0000) Subject: Fix default insert mode for preferences X-Git-Tag: qt4_porting_delivery_220807~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=675c8f5c2e6356e4d73b7f82ccdab1a4f50e5f74;p=modules%2Fgui.git Fix default insert mode for preferences --- diff --git a/src/LightApp/LightApp_Module.h b/src/LightApp/LightApp_Module.h index 1911a32ff..0883d2120 100644 --- a/src/LightApp/LightApp_Module.h +++ b/src/LightApp/LightApp_Module.h @@ -25,10 +25,10 @@ #define LIGHTAPP_MODULE_H #include "LightApp.h" +#include "LightApp_Preferences.h" #include class LightApp_Application; -class LightApp_Preferences; class LightApp_Selection; class LightApp_Operation; class LightApp_SwitchOp; @@ -114,7 +114,7 @@ protected: virtual CAM_DataModel* createDataModel(); int addPreference( const QString& label ); - int addPreference( const QString& label, const int pId, const int = -1, + int addPreference( const QString& label, const int pId, const int = LightApp_Preferences::Auto, const QString& section = QString::null, const QString& param = QString::null ); QVariant preferenceProperty( const int, const QString& ) const;