[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdeui
From: Waldo Bastian <bastian () kde ! org>
Date: 2004-05-24 11:04:58
Message-ID: 20040524110458.361EB1BAC () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Improve following of resizes
M +2 -0 krootpixmap.cpp 1.27
M +1 -1 ksharedpixmap.cpp 1.20
--- kdelibs/kdeui/krootpixmap.cpp #1.26:1.27
@@ -67,4 +67,5 @@ void KRootPixmap::init()
d->toplevel = m_pWidget->topLevelWidget();
d->toplevel->installEventFilter(this);
+ m_pWidget->installEventFilter(this);
}
@@ -190,4 +191,5 @@ void KRootPixmap::repaint(bool force)
)
{
+ m_Rect = QRect(p1, p2);
updateBackground( m_pPixmap );
return;
--- kdelibs/kdeui/ksharedpixmap.cpp #1.19:1.20
@@ -98,9 +98,9 @@ bool KSharedPixmap::isAvailable(const QS
bool KSharedPixmap::loadFromShared(const QString & name, const QRect & rect)
{
+ d->rect = rect;
if (d->selection != None)
// already active
return false;
- d->rect = rect;
QPixmap::resize(0, 0); // invalidate
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic