aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJacek Antonelli2009-01-16 15:51:58 -0600
committerJacek Antonelli2009-01-16 15:52:01 -0600
commit56a9a4932a6f10c0346b5ef6cac079b3485ab081 (patch)
tree2f5719080bc045ae6fd214dc0637039fc246b149
parentUse UI callbacks to initiate rebuilding filter. (diff)
downloadmeta-impy-56a9a4932a6f10c0346b5ef6cac079b3485ab081.zip
meta-impy-56a9a4932a6f10c0346b5ef6cac079b3485ab081.tar.gz
meta-impy-56a9a4932a6f10c0346b5ef6cac079b3485ab081.tar.bz2
meta-impy-56a9a4932a6f10c0346b5ef6cac079b3485ab081.tar.xz
Removed now-useless LLInventoryViewFinder::draw().
-rw-r--r--ChangeLog.txt6
-rw-r--r--linden/indra/newview/llinventoryview.cpp5
-rw-r--r--linden/indra/newview/llinventoryview.h1
3 files changed, 6 insertions, 6 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 1b7aaea..7da2cd8 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,6 +1,12 @@
12009-01-16 Jacek Antonelli <jacek.antonelli@gmail.com> 12009-01-16 Jacek Antonelli <jacek.antonelli@gmail.com>
2 2
3 * linden/indra/newview/llinventoryview.cpp: 3 * linden/indra/newview/llinventoryview.cpp:
4 Removed now-useless LLInventoryViewFinder::draw().
5 * linden/indra/newview/llinventoryview.h:
6 Ditto.
7
8
9 * linden/indra/newview/llinventoryview.cpp:
4 Use UI callbacks to initiate rebuilding filter. 10 Use UI callbacks to initiate rebuilding filter.
5 Instead of rebuilding from draw() every frame. 11 Instead of rebuilding from draw() every frame.
6 * linden/indra/newview/llinventoryview.h: 12 * linden/indra/newview/llinventoryview.h:
diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp
index 401d6e2..1118f54 100644
--- a/linden/indra/newview/llinventoryview.cpp
+++ b/linden/indra/newview/llinventoryview.cpp
@@ -242,11 +242,6 @@ void LLInventoryViewFinder::updateElementsFromFilter()
242 mSpinSinceDays->set((F32)(hours / 24)); 242 mSpinSinceDays->set((F32)(hours / 24));
243} 243}
244 244
245void LLInventoryViewFinder::draw()
246{
247 LLFloater::draw();
248}
249
250void LLInventoryViewFinder::rebuildFilter() 245void LLInventoryViewFinder::rebuildFilter()
251{ 246{
252 U32 filter = LLInventoryType::NIT_ALL; 247 U32 filter = LLInventoryType::NIT_ALL;
diff --git a/linden/indra/newview/llinventoryview.h b/linden/indra/newview/llinventoryview.h
index 439f869..c5c8532 100644
--- a/linden/indra/newview/llinventoryview.h
+++ b/linden/indra/newview/llinventoryview.h
@@ -162,7 +162,6 @@ public:
162 LLInventoryViewFinder(const std::string& name, 162 LLInventoryViewFinder(const std::string& name,
163 const LLRect& rect, 163 const LLRect& rect,
164 LLInventoryView* inventory_view); 164 LLInventoryView* inventory_view);
165 virtual void draw();
166 virtual void rebuildFilter(); 165 virtual void rebuildFilter();
167 virtual void onClose(bool app_quitting); 166 virtual void onClose(bool app_quitting);
168 void changeFilter(LLInventoryFilter* filter); 167 void changeFilter(LLInventoryFilter* filter);