From 675c8f5c2e6356e4d73b7f82ccdab1a4f50e5f74 Mon Sep 17 00:00:00 2001 From: abd Date: Mon, 6 Aug 2007 12:54:43 +0000 Subject: [PATCH] Fix default insert mode for preferences --- src/LightApp/LightApp_Module.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2