┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-06 18:09:54 +0000
committerPeter Penz <[email protected]>2008-01-06 18:09:54 +0000
commitc6992dd7f898a5c92b52d54a032efd1beef40980 (patch)
tree8641cd728edfc2c92b794b7ddd1fdd57decfae8e /src
parentb5c5973dadb3f82c3997448bac2d57f1362a9576 (diff)
SVN_SILENT: minor coding style fixes
svn path=/trunk/KDE/kdebase/apps/; revision=757988
Diffstat (limited to 'src')
-rw-r--r--src/dolphincolumnview.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dolphincolumnview.cpp b/src/dolphincolumnview.cpp
index bfbc5d9f1..54dc8fe3b 100644
--- a/src/dolphincolumnview.cpp
+++ b/src/dolphincolumnview.cpp
@@ -503,8 +503,9 @@ void DolphinColumnView::assureVisibleActiveColumn()
} else {
m_animation->setFrameRange(-m_contentX, -newContentX);
}
- if(m_animation->state() != QTimeLine::Running)
+ if (m_animation->state() != QTimeLine::Running) {
m_animation->start();
+ }
} else if (x < 0) {
const int newContentX = m_contentX - x;
if (isRightToLeft()) {
@@ -512,8 +513,9 @@ void DolphinColumnView::assureVisibleActiveColumn()
} else {
m_animation->setFrameRange(-m_contentX, -newContentX);
}
- if(m_animation->state() != QTimeLine::Running)
+ if (m_animation->state() != QTimeLine::Running) {
m_animation->start();
+ }
}
}