summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/weather
Unidiff
Diffstat (limited to 'noncore/todayplugins/weather') (more/less context) (show whitespace changes)
-rw-r--r--noncore/todayplugins/weather/weatherpluginimpl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/todayplugins/weather/weatherpluginimpl.cpp b/noncore/todayplugins/weather/weatherpluginimpl.cpp
index 1a7c27b..fd32a44 100644
--- a/noncore/todayplugins/weather/weatherpluginimpl.cpp
+++ b/noncore/todayplugins/weather/weatherpluginimpl.cpp
@@ -51,7 +51,8 @@ QRESULT WeatherPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface
51 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) 51 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) )
52 { 52 {
53 *iface = this, (*iface)->addRef(); 53 *iface = this, (*iface)->addRef();
54 } 54 }else
55 return QS_FALSE;
55 56
56 return QS_OK; 57 return QS_OK;
57} 58}