[Digikam-devel] [Bug 181184] In fullscreen, thumbnails rating stars follow bottom scrollbar

Gilles Caulier caulier.gilles at gmail.com
Mon Jan 19 14:31:04 GMT 2009


http://bugs.kde.org/show_bug.cgi?id=181184





--- Comment #15 from Gilles Caulier <caulier gilles gmail com>  2009-01-19 15:31:03 ---
Andi,

Testing indeep, i cannot reproduce the crash here.

There is no reason for that :

bool ImagePreviewBar::eventFilter(QObject *obj, QEvent *ev)
{
    if ( obj == qobject_cast<QObject*>(d->ratingBox) )
    {
        if ( ev->type() == QEvent::Leave)
        {
            if (d->ratingItem)
            {
                unsetCursor();
                d->ratingBox->hide();
                ThumbBarItem *item = d->ratingItem;
                d->ratingItem      = 0;
                item->repaint();
            }
        }
    }
...

item->repaint() is called only if d->ratingItem exist.

Gilles


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list