-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 @@ -51,22 +51,22 @@ Keyboard::Keyboard(QWidget* parent, const char* _name, WFlags f) : 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 ); |