From 7669e862eb1634f271be86c1b895aad14df5327c Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Sun, 29 May 2016 12:02:21 +0200 Subject: Fix SRDOP related bug in Widget::sizeRequest. --- dw/tools.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dw/tools.cc') diff --git a/dw/tools.cc b/dw/tools.cc index 547c2585..7579691c 100644 --- a/dw/tools.cc +++ b/dw/tools.cc @@ -172,6 +172,11 @@ bool SizeParams::isEquivalent (SizeParams *other) for (int i = 0; result && i < numPos; i++) { bool otherFound = false; for (int j = 0; !otherFound && j < numPos; j++) { + DBG_OBJ_MSGF ("resize", 1, + "#%d = (%p, %d, %d) vs. #%d = (%p, %d, %d)", + i, references[i], x[i], y[i], j, other->references[j], + other->x[j], other->y[j]); + if (references[i] == other->references[j]) { otherFound = true; if (!(x[i] == other->x[j] && y[i] == other->y[j])) -- cgit v1.2.3