author | zecke <zecke> | 2004-01-27 18:54:49 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-01-27 18:54:49 (UTC) |
commit | 829b13ec0e4ffb359ab39c16c564719908173ffa (patch) (side-by-side diff) | |
tree | 0741e3ba2866cb4a065d614f4d38442007447a1f /inputmethods/unikeyboard | |
parent | b2823e2919b746107b13ebdf603fa04cec8fba72 (diff) | |
download | opie-829b13ec0e4ffb359ab39c16c564719908173ffa.zip opie-829b13ec0e4ffb359ab39c16c564719908173ffa.tar.gz opie-829b13ec0e4ffb359ab39c16c564719908173ffa.tar.bz2 |
Another bunch of return QS_FALSE;
-rw-r--r-- | inputmethods/unikeyboard/unikeyboardimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inputmethods/unikeyboard/unikeyboardimpl.cpp b/inputmethods/unikeyboard/unikeyboardimpl.cpp index fe601e0..e7fc00e 100644 --- a/inputmethods/unikeyboard/unikeyboardimpl.cpp +++ b/inputmethods/unikeyboard/unikeyboardimpl.cpp @@ -82,24 +82,26 @@ void UniKeyboardImpl::onKeyPress( QObject *receiver, const char *slot ) { if ( input ) QObject::connect( input, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); } QRESULT UniKeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { *iface = 0; if ( uuid == IID_QUnknown ) *iface = this; else if ( uuid == IID_InputMethod ) *iface = this; + else + return QS_FALSE; if ( *iface ) (*iface)->addRef(); return QS_OK; } Q_EXPORT_INTERFACE() { Q_CREATE_INSTANCE( UniKeyboardImpl ) } |