-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 | |||
@@ -88,12 +88,14 @@ QRESULT UniKeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface ** | |||
88 | { | 88 | { |
89 | *iface = 0; | 89 | *iface = 0; |
90 | if ( uuid == IID_QUnknown ) | 90 | if ( uuid == IID_QUnknown ) |
91 | *iface = this; | 91 | *iface = this; |
92 | else if ( uuid == IID_InputMethod ) | 92 | else if ( uuid == IID_InputMethod ) |
93 | *iface = this; | 93 | *iface = this; |
94 | else | ||
95 | return QS_FALSE; | ||
94 | 96 | ||
95 | if ( *iface ) | 97 | if ( *iface ) |
96 | (*iface)->addRef(); | 98 | (*iface)->addRef(); |
97 | return QS_OK; | 99 | return QS_OK; |
98 | } | 100 | } |
99 | 101 | ||