author | llornkcor <llornkcor> | 2002-04-18 01:51:16 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-18 01:51:16 (UTC) |
commit | 329d0e3182356a3a072ea417f71ce208b10865ce (patch) (unidiff) | |
tree | 39e3f956f20f47e725de15cc01160487464d5df4 | |
parent | 025156262b9bcab1e484347fe89657671f8f951f (diff) | |
download | opie-329d0e3182356a3a072ea417f71ce208b10865ce.zip opie-329d0e3182356a3a072ea417f71ce208b10865ce.tar.gz opie-329d0e3182356a3a072ea417f71ce208b10865ce.tar.bz2 |
bug fix
-rw-r--r-- | core/apps/calibrate/calibrate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/calibrate/calibrate.cpp b/core/apps/calibrate/calibrate.cpp index 8647957..7b60e64 100644 --- a/core/apps/calibrate/calibrate.cpp +++ b/core/apps/calibrate/calibrate.cpp | |||
@@ -40,13 +40,13 @@ Calibrate::Calibrate(QWidget* parent, const char * name, WFlags wf) : | |||
40 | QRect desk = qApp->desktop()->geometry(); | 40 | QRect desk = qApp->desktop()->geometry(); |
41 | setGeometry( 0, 0, desk.width(), desk.height() ); | 41 | setGeometry( 0, 0, desk.width(), desk.height() ); |
42 | if ( desk.height() < 250 ) { | 42 | if ( desk.height() < 250 ) { |
43 | int w = desk.height()/3; | 43 | int w = desk.height()/3; |
44 | logo.convertFromImage(Resource::loadImage("launcher/opielogo").smoothScale(w,w)); | 44 | logo.convertFromImage(Resource::loadImage("launcher/opielogo").smoothScale(w,w)); |
45 | } else { | 45 | } else { |
46 | logo = Resource::loadPixmap( "launcher/launcher/opielogo" ); | 46 | logo = Resource::loadPixmap( "launcher/opielogo" ); |
47 | } | 47 | } |
48 | cd.screenPoints[QWSPointerCalibrationData::TopLeft] = QPoint( offset, offset ); | 48 | cd.screenPoints[QWSPointerCalibrationData::TopLeft] = QPoint( offset, offset ); |
49 | cd.screenPoints[QWSPointerCalibrationData::BottomLeft] = QPoint( offset, qt_screen->deviceHeight() - offset ); | 49 | cd.screenPoints[QWSPointerCalibrationData::BottomLeft] = QPoint( offset, qt_screen->deviceHeight() - offset ); |
50 | cd.screenPoints[QWSPointerCalibrationData::BottomRight] = QPoint( qt_screen->deviceWidth() - offset, qt_screen->deviceHeight() - offset ); | 50 | cd.screenPoints[QWSPointerCalibrationData::BottomRight] = QPoint( qt_screen->deviceWidth() - offset, qt_screen->deviceHeight() - offset ); |
51 | cd.screenPoints[QWSPointerCalibrationData::TopRight] = QPoint( qt_screen->deviceWidth() - offset, offset ); | 51 | cd.screenPoints[QWSPointerCalibrationData::TopRight] = QPoint( qt_screen->deviceWidth() - offset, offset ); |
52 | cd.screenPoints[QWSPointerCalibrationData::Center] = QPoint( qt_screen->deviceWidth()/2, qt_screen->deviceHeight()/2 ); | 52 | cd.screenPoints[QWSPointerCalibrationData::Center] = QPoint( qt_screen->deviceWidth()/2, qt_screen->deviceHeight()/2 ); |