[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/kcontrol4/src/core
From: Ben Cooksley <sourtooth () gmail ! com>
Date: 2009-04-04 12:43:09
Message-ID: 1238848989.592207.12805.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 949050 by bcooksley:
Check that we are within our size constraints correctly
M +1 -1 ToolTipManager.cpp
--- trunk/playground/base/kcontrol4/src/core/ToolTipManager.cpp #949049:949050
@@ -157,7 +157,7 @@
const bool hasRoomToRight = (m_itemRect.right() + size.width() <= desktop.right());
const bool hasRoomAbove = (m_itemRect.top() - size.height() >= desktop.top());
const bool hasRoomBelow = (m_itemRect.bottom() + size.height() <= desktop.bottom());
- if (!hasRoomAbove && !hasRoomBelow && !hasRoomToLeft && !hasRoomToRight) {
+ if ( ( !hasRoomAbove && !hasRoomBelow ) || ( !hasRoomToLeft && !hasRoomToRight ) ) {
delete tip;
tip = 0;
return;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic