[Digikam-devel] extragear/graphics/digikam/libs/widgets
Gilles Caulier
caulier.gilles at free.fr
Sun Jan 1 19:33:12 GMT 2006
SVN commit 493185 by cgilles:
digikam from trunk : no need to redraw image guide widget content if mouse is not released. This is reduce CPU time require to redraw content.
CCMAIL: digikam-devel at kde.org
M +1 -1 imageguidewidget.cpp
--- trunk/extragear/graphics/digikam/libs/widgets/imageguidewidget.cpp #493184:493185
@@ -265,6 +265,7 @@
if ( m_rect.contains( e->x(), e->y() ) && m_focus && m_spotVisible)
{
m_focus = false;
+ updatePreview();
m_spot.setX(e->x()-m_rect.x());
m_spot.setY(e->y()-m_rect.y());
@@ -287,7 +288,6 @@
{
m_spot.setX(e->x()-m_rect.x());
m_spot.setY(e->y()-m_rect.y());
- updatePreview();
}
else
setCursor( KCursor::arrowCursor() );
More information about the Digikam-devel
mailing list