[haiku-commits] haiku: hrev49507 - src/kits/interface

  • From: waddlesplash@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 3 Aug 2015 19:07:50 +0200 (CEST)

hrev49507 adds 1 changeset to branch 'master'
old head: bd35a040a5979f10ed9908cd39746a1d784e2b38
new head: 2ffa9f8e542aa0c7dffd043e908d1af92da9d3aa
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=2ffa9f8e542a+%5Ebd35a040a597

----------------------------------------------------------------------------

2ffa9f8e542a: Revert "Revert "BTwoDimensionalLayout: Removed duplicated code.""

This reverts commit c2e9a9227ecadca3a4fdc7e7f7569fb9c7dc1391. I
misunderstood what Diver meant -- apparently whe he said "revert",
he meant the whole changeset, not this specific commit. So the culprit
is probably BTextView then.

[ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision: hrev49507
Commit: 2ffa9f8e542aa0c7dffd043e908d1af92da9d3aa
URL: http://cgit.haiku-os.org/haiku/commit/?id=2ffa9f8e542a
Author: Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date: Mon Aug 3 17:07:06 2015 UTC

----------------------------------------------------------------------------

1 file changed, 9 deletions(-)
src/kits/interface/TwoDimensionalLayout.cpp | 9 ---------

----------------------------------------------------------------------------

diff --git a/src/kits/interface/TwoDimensionalLayout.cpp
b/src/kits/interface/TwoDimensionalLayout.cpp
index a37f67a..ffb93b0 100644
--- a/src/kits/interface/TwoDimensionalLayout.cpp
+++ b/src/kits/interface/TwoDimensionalLayout.cpp
@@ -21,8 +21,6 @@
#include "CollapsingLayouter.h"


-
-
// Some words of explanation:
//
// This class is the base class for BLayouts that organize their items
@@ -923,13 +921,6 @@
BTwoDimensionalLayout::VerticalCompoundLayouter::InternalGetHeightForWidth(
}

updateCachedInfo = true;
-
- // get the height for width info
- fCachedMinHeightForWidth = fHeightForWidthLayouter->MinSize();
- fCachedMaxHeightForWidth = fHeightForWidthLayouter->MaxSize();
- fCachedPreferredHeightForWidth
- = fHeightForWidthLayouter->PreferredSize();
-
} else if (localLayouter->HasHeightForWidth()) {
// There is a height for width layouter and it has been
initialized
// in the current layout context. So we just add the height for
width


Other related posts:

  • » [haiku-commits] haiku: hrev49507 - src/kits/interface - waddlesplash