From d1873784319b247b0bd73519ca8b4158ebf965a1 Mon Sep 17 00:00:00 2001 From: Adenilson Cavalcanti Date: Wed, 2 Sep 2009 16:06:10 -0400 Subject: [PATCH] Aesthetics. --- kineticview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kineticview.cpp b/kineticview.cpp index d5646fd..4f644d0 100644 --- a/kineticview.cpp +++ b/kineticview.cpp @@ -61,7 +61,7 @@ void KineticView::startTimer() void KineticView::setWidget( QGraphicsWidget *item) { mWindow = item; - mWindow->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed); + mWindow->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ); mWindow->setParentItem( mViewPort ); mWindow->setPos( 0, 0); mWindow->setAcceptedMouseButtons( Qt::LeftButton ); @@ -108,7 +108,7 @@ void KineticView::timerEvent( QTimerEvent *event ) { setScrollValue( qRound( mScrollVelocity ) ); mScrollVelocity *= 0.9; - if( !mScrollVelocity || newclick ) { + if ( !mScrollVelocity || newclick ) { if ( timerID ) { killTimer( timerID ); } -- 2.11.4.GIT