summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersettingsdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatersettingsdebug.h')
-rw-r--r--indra/newview/llfloatersettingsdebug.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llfloatersettingsdebug.h b/indra/newview/llfloatersettingsdebug.h
index e08e6b5d74..1190e8038f 100644
--- a/indra/newview/llfloatersettingsdebug.h
+++ b/indra/newview/llfloatersettingsdebug.h
@@ -37,10 +37,12 @@
#include "llfloater.h"
#include "lltexteditor.h"
-class LLFloaterSettingsDebug : public LLFloater
+class LLFloaterSettingsDebug
+: public LLFloater,
+ public LLFloaterSingleton<LLFloaterSettingsDebug>
{
public:
- LLFloaterSettingsDebug();
+ LLFloaterSettingsDebug(const LLSD& key);
virtual ~LLFloaterSettingsDebug();
virtual BOOL postBuild();
@@ -48,13 +50,11 @@ public:
void updateControl(LLControlVariable* control);
- static void show(void*);
static void onSettingSelect(LLUICtrl* ctrl, void* user_data);
static void onCommitSettings(LLUICtrl* ctrl, void* user_data);
static void onClickDefault(void* user_data);
protected:
- static LLFloaterSettingsDebug* sInstance;
LLTextEditor* mComment;
};