-rw-r--r-- | inputmethods/dvorak/dvorakimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inputmethods/dvorak/dvorakimpl.cpp b/inputmethods/dvorak/dvorakimpl.cpp index 8050ce1..9e9fed9 100644 --- a/inputmethods/dvorak/dvorakimpl.cpp +++ b/inputmethods/dvorak/dvorakimpl.cpp | |||
@@ -114,12 +114,14 @@ QRESULT KeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **ifa | |||
114 | { | 114 | { |
115 | *iface = 0; | 115 | *iface = 0; |
116 | if ( uuid == IID_QUnknown ) | 116 | if ( uuid == IID_QUnknown ) |
117 | *iface = this; | 117 | *iface = this; |
118 | else if ( uuid == IID_InputMethod ) | 118 | else if ( uuid == IID_InputMethod ) |
119 | *iface = this; | 119 | *iface = this; |
120 | else | ||
121 | return QS_FALSE; | ||
120 | 122 | ||
121 | if ( *iface ) | 123 | if ( *iface ) |
122 | (*iface)->addRef(); | 124 | (*iface)->addRef(); |
123 | return QS_OK; | 125 | return QS_OK; |
124 | } | 126 | } |
125 | 127 | ||