summaryrefslogtreecommitdiff
path: root/core/apps/calibrate/calibrate.cpp
Side-by-side diff
Diffstat (limited to 'core/apps/calibrate/calibrate.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/calibrate/calibrate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/apps/calibrate/calibrate.cpp b/core/apps/calibrate/calibrate.cpp
index 5f52bdc..53388f1 100644
--- a/core/apps/calibrate/calibrate.cpp
+++ b/core/apps/calibrate/calibrate.cpp
@@ -126,3 +126,3 @@ bool Calibrate::sanityCheck()
// not needed anywhere .. just calculate it, so it's there
- cd.devPoints[QWSPointerCalibrationData::Center] = QRect( tl, br ).normalize().center();
+ //cd.devPoints[QWSPointerCalibrationData::Center] = QRect( tl, br ).normalize().center();
@@ -177,3 +177,3 @@ void Calibrate::paintEvent( QPaintEvent * )
QPainter p( this );
- int y = height() / 3;
+ int y = height() / 2;
@@ -225,3 +225,3 @@ void Calibrate::mouseReleaseEvent( QMouseEvent * )
cd.devPoints[ location ] = penPos;
- if ( location < QWSPointerCalibrationData::TopRight ) {
+ if ( location < QWSPointerCalibrationData::Center ) {
location = (QWSPointerCalibrationData::Location) ( int( location ) + 1 );