summaryrefslogtreecommitdiff
path: root/dw/tools.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-05-29 12:02:21 +0200
committerSebastian Geerken <devnull@localhost>2016-05-29 12:02:21 +0200
commit7669e862eb1634f271be86c1b895aad14df5327c (patch)
tree213dd40a54e63333f51d02e273511b55b623ad36 /dw/tools.cc
parenta8620ad1a9236949c648c9747807c0b6ea2ef396 (diff)
Fix SRDOP related bug in Widget::sizeRequest.
Diffstat (limited to 'dw/tools.cc')
-rw-r--r--dw/tools.cc5
1 files changed, 5 insertions, 0 deletions
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]))