aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenufile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewermenufile.cpp')
-rw-r--r--linden/indra/newview/llviewermenufile.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/linden/indra/newview/llviewermenufile.cpp b/linden/indra/newview/llviewermenufile.cpp
index 231da59..a4c55f7 100644
--- a/linden/indra/newview/llviewermenufile.cpp
+++ b/linden/indra/newview/llviewermenufile.cpp
@@ -39,7 +39,6 @@
39#include "llfloateranimpreview.h" 39#include "llfloateranimpreview.h"
40#include "llfloaterbuycurrency.h" 40#include "llfloaterbuycurrency.h"
41#include "llfloaterimagepreview.h" 41#include "llfloaterimagepreview.h"
42#include "llfloaterimport.h"
43#include "llfloaternamedesc.h" 42#include "llfloaternamedesc.h"
44#include "llfloatersnapshot.h" 43#include "llfloatersnapshot.h"
45#include "llinventorymodel.h" // gInventory 44#include "llinventorymodel.h" // gInventory
@@ -53,6 +52,7 @@
53#include "llviewerstats.h" 52#include "llviewerstats.h"
54#include "llviewerwindow.h" 53#include "llviewerwindow.h"
55#include "llappviewer.h" 54#include "llappviewer.h"
55#include "lluploaddialog.h"
56 56
57 57
58// linden libraries 58// linden libraries
@@ -210,18 +210,6 @@ const char* upload_pick(void* data)
210 return filename; 210 return filename;
211} 211}
212 212
213/*
214void handle_upload_object(void* data)
215{
216 const char* filename = upload_pick(data);
217 if (filename)
218 {
219 // start the import
220 LLFloaterImport* floaterp = new LLFloaterImport(filename);
221 gUICtrlFactory->buildFloater(floaterp, "floater_import.xml");
222 }
223}*/
224
225class LLFileUploadImage : public view_listener_t 213class LLFileUploadImage : public view_listener_t
226{ 214{
227 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 215 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
@@ -410,6 +398,7 @@ class LLFileTakeSnapshotToDisk : public view_listener_t
410 width, 398 width,
411 height, 399 height,
412 TRUE, 400 TRUE,
401 FALSE,
413 gSavedSettings.getBOOL("RenderUIInSnapshot"), 402 gSavedSettings.getBOOL("RenderUIInSnapshot"),
414 FALSE)) 403 FALSE))
415 { 404 {