[haiku-commits] r39361 - haiku/trunk/src/kits/tracker

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 8 Nov 2010 22:35:54 +0100 (CET)

Author: axeld
Date: 2010-11-08 22:35:54 +0100 (Mon, 08 Nov 2010)
New Revision: 39361
Changeset: http://dev.haiku-os.org/changeset/39361

Modified:
   haiku/trunk/src/kits/tracker/CountView.cpp
Log:
* Minor cleanup.


Modified: haiku/trunk/src/kits/tracker/CountView.cpp
===================================================================
--- haiku/trunk/src/kits/tracker/CountView.cpp  2010-11-08 21:24:04 UTC (rev 
39360)
+++ haiku/trunk/src/kits/tracker/CountView.cpp  2010-11-08 21:35:54 UTC (rev 
39361)
@@ -316,12 +316,12 @@
                        menu->Populate(NULL, Window(), false, false, true, 
false, true);
 
                menu->SetTargetForItems(be_app);
-               BPoint pop_pt = Bounds().LeftBottom();
-               pop_pt.y += 3;
-               ConvertToScreen(&pop_pt);
-               BRect mouse_rect(Bounds());
-               ConvertToScreen(&mouse_rect);
-               menu->Go(pop_pt, true, true, mouse_rect);
+               BPoint point = Bounds().LeftBottom();
+               point.y += 3;
+               ConvertToScreen(&point);
+               BRect clickToOpenRect(Bounds());
+               ConvertToScreen(&clickToOpenRect);
+               menu->Go(point, true, true, clickToOpenRect);
                delete menu;
        }
 }


Other related posts:

  • » [haiku-commits] r39361 - haiku/trunk/src/kits/tracker - axeld