author | simon <simon> | 2002-04-30 14:23:00 (UTC) |
---|---|---|
committer | simon <simon> | 2002-04-30 14:23:00 (UTC) |
commit | e4a316c10ee1a6a1514db1e3883d1e97d80ed356 (patch) (unidiff) | |
tree | 3272e955bfb99d2706f2c62297a2fac666df78b4 /core/settings | |
parent | aa2118f85ef44f5eb22babe5cc53421d7d981a94 (diff) | |
download | opie-e4a316c10ee1a6a1514db1e3883d1e97d80ed356.zip opie-e4a316c10ee1a6a1514db1e3883d1e97d80ed356.tar.gz opie-e4a316c10ee1a6a1514db1e3883d1e97d80ed356.tar.bz2 |
- missing NL at EOF
-rw-r--r-- | core/settings/citytime/stylusnormalizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/settings/citytime/stylusnormalizer.cpp b/core/settings/citytime/stylusnormalizer.cpp index 62de28b..c6c65d2 100644 --- a/core/settings/citytime/stylusnormalizer.cpp +++ b/core/settings/citytime/stylusnormalizer.cpp | |||
@@ -74,25 +74,26 @@ void StylusNormalizer::slotAveragePoint( void ) | |||
74 | QTime tCurr = QTime::currentTime(); | 74 | QTime tCurr = QTime::currentTime(); |
75 | int i, | 75 | int i, |
76 | size; | 76 | size; |
77 | size = 0; | 77 | size = 0; |
78 | for ( i = 0; i < SAMPLES; i++ ) { | 78 | for ( i = 0; i < SAMPLES; i++ ) { |
79 | if ( ( (_ptList[i]).time().msecsTo( tCurr ) < FLUSHTIME ) && | 79 | if ( ( (_ptList[i]).time().msecsTo( tCurr ) < FLUSHTIME ) && |
80 | ( _ptList[i].point() != QPoint( -1, -1 ) ) ) { | 80 | ( _ptList[i].point() != QPoint( -1, -1 ) ) ) { |
81 | pt += _ptList[i].point(); | 81 | pt += _ptList[i].point(); |
82 | size++; | 82 | size++; |
83 | } | 83 | } |
84 | } | 84 | } |
85 | if ( size > 0 ) | 85 | if ( size > 0 ) |
86 | emit signalNewPoint( pt /= size ); | 86 | emit signalNewPoint( pt /= size ); |
87 | } | 87 | } |
88 | 88 | ||
89 | void StylusNormalizer::start( void ) | 89 | void StylusNormalizer::start( void ) |
90 | { | 90 | { |
91 | _tExpire->start( FLUSHTIME ); | 91 | _tExpire->start( FLUSHTIME ); |
92 | } | 92 | } |
93 | 93 | ||
94 | void StylusNormalizer::stop( void ) | 94 | void StylusNormalizer::stop( void ) |
95 | { | 95 | { |
96 | _tExpire->stop(); | 96 | _tExpire->stop(); |
97 | bFirst = true; | 97 | bFirst = true; |
98 | } \ No newline at end of file | 98 | } |
99 | |||