summaryrefslogtreecommitdiff
path: root/libopie/odevice.cpp
authorsandman <sandman>2002-12-23 03:12:28 (UTC)
committer sandman <sandman>2002-12-23 03:12:28 (UTC)
commit726d2ac455446ee194c8e83df16f48357b619988 (patch) (side-by-side diff)
treeada7a041dc001ba6220908594d91111efa729c32 /libopie/odevice.cpp
parent10c21667cb5e4266dc9a9b481ae11b199ffffc2e (diff)
downloadopie-726d2ac455446ee194c8e83df16f48357b619988.zip
opie-726d2ac455446ee194c8e83df16f48357b619988.tar.gz
opie-726d2ac455446ee194c8e83df16f48357b619988.tar.bz2
Fixed a few typos and removed some qDebugs
Diffstat (limited to 'libopie/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index f93d1ed..a3c30cb 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -153,7 +153,7 @@ struct i_button {
"QPE/TaskBar", "toggleMenu()",
"QPE/TaskBar", "toggleStartMenu()" },
{ Model_iPAQ_H38xx | Model_iPAQ_H39xx,
- Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Mail Button"),
+ Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Mail Button"),
"devicebuttons/ipaq_mail",
"mail", "raise()",
"mail", "newMail()" },
@@ -606,8 +606,6 @@ void iPAQ::init ( )
i_button *ib = ipaq_buttons + i;
ODeviceButton b;
- qDebug ( "%d: %d", i, ib-> model );
-
if (( ib-> model & d-> m_model ) == d-> m_model ) {
b. setKeycode ( ib-> code );
b. setUserText ( qApp-> translate ( "Button", ib-> utext ));
@@ -616,8 +614,6 @@ void iPAQ::init ( )
b. setFactoryPresetHeldAction ( OQCopMessage ( makeChannel ( ib-> fheldservice ), ib-> fheldaction ));
d-> m_buttons. append ( b );
-
- qDebug ( "code: %d", ib-> code );
}
}
reloadButtonMapping ( );
@@ -754,7 +750,7 @@ bool iPAQ::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, b
}
}
- if ( newkeycode != keycode ) {
+k if ( newkeycode != keycode ) {
if ( newkeycode != Key_unknown )
QWSServer::sendKeyEvent ( -1, newkeycode, modifiers, isPress, autoRepeat );
return true;