Diffstat (limited to 'inputmethods/unikeyboard/unikeyboardimpl.cpp') (more/less context) (show whitespace changes)
-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 @@ -90,8 +90,10 @@ QRESULT UniKeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface ** if ( uuid == IID_QUnknown ) *iface = this; else if ( uuid == IID_InputMethod ) *iface = this; + else + return QS_FALSE; if ( *iface ) (*iface)->addRef(); return QS_OK; |