author | harlekin <harlekin> | 2002-05-02 10:59:23 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-05-02 10:59:23 (UTC) |
commit | 3e4ce540942b6342a00c272dac171e729ae2b08b (patch) (side-by-side diff) | |
tree | 9251a7389328a4d581b9e1c9848f8d6dc139a555 | |
parent | 9b22572f07ec954e9dda33e99f7fc681e3c50827 (diff) | |
download | opie-3e4ce540942b6342a00c272dac171e729ae2b08b.zip opie-3e4ce540942b6342a00c272dac171e729ae2b08b.tar.gz opie-3e4ce540942b6342a00c272dac171e729ae2b08b.tar.bz2 |
removed the hack that limited the bad influence of the sticky bug on ipaq, since it is not needed any more. Sticky bug is fixed in 2.4.18-rmk3 hh6
-rw-r--r-- | inputmethods/keyboard/keyboard.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/inputmethods/keyboard/keyboard.cpp b/inputmethods/keyboard/keyboard.cpp index a04c45a..0f0b188 100644 --- a/inputmethods/keyboard/keyboard.cpp +++ b/inputmethods/keyboard/keyboard.cpp @@ -41,42 +41,42 @@ Keyboard::Keyboard(QWidget* parent, const char* _name, WFlags f) : // setPalette(QPalette(QColor(240,240,230))); // Beige! // setFont( QFont( "Helvetica", 8 ) ); // setPalette(QPalette(QColor(200,200,200))); // Gray setPalette(QPalette(QColor(220,220,220))); // Gray picks = new KeyboardPicks( this ); picks->setFont( QFont( "smallsmooth", 9 ) ); setFont( QFont( "smallsmooth", 9 ) ); picks->initialise(); QObject::connect( picks, SIGNAL(key(ushort,ushort,ushort,bool,bool) ), this, SIGNAL(key(ushort,ushort,ushort,bool,bool)) ); repeatTimer = new QTimer( this ); // temporary quick and dirty fix for the "sticky keyboard bug" // on ipaq. - struct utsname name; - if (uname(&name) != -1) - { - QString release=name.release; - qWarning("System release: %s\n", name.release); - if(release.find("embedix",0,TRUE) !=-1) - { +// struct utsname name; +// if (uname(&name) != -1) + // { +// QString release=name.release; +// qWarning("System release: %s\n", name.release); +// if(release.find("embedix",0,TRUE) !=-1) +// { connect( repeatTimer, SIGNAL(timeout()), this, SLOT(repeat()) ); - } - } +// } + // } } void Keyboard::resizeEvent(QResizeEvent*) { int ph = picks->sizeHint().height(); picks->setGeometry( 0, 0, width(), ph ); keyHeight = (height()-ph)/5; int nk; if ( useOptiKeys ) { nk = 15; } else if ( useLargeKeys ) { nk = 15; } else { nk = 19; } defaultKeyWidth = width()/nk; |