summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/weather
authorzecke <zecke>2004-01-27 18:56:29 (UTC)
committer zecke <zecke>2004-01-27 18:56:29 (UTC)
commitec32e99fae963a97b527c2c54813a96c284d99cf (patch) (unidiff)
tree6ccfe6c127c8f9a32e1fa6cf6eb5385bd18f9267 /noncore/todayplugins/weather
parent829b13ec0e4ffb359ab39c16c564719908173ffa (diff)
downloadopie-ec32e99fae963a97b527c2c54813a96c284d99cf.zip
opie-ec32e99fae963a97b527c2c54813a96c284d99cf.tar.gz
opie-ec32e99fae963a97b527c2c54813a96c284d99cf.tar.bz2
Guess what? return QS_FALSE;
Diffstat (limited to 'noncore/todayplugins/weather') (more/less context) (ignore 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
@@ -42,21 +42,22 @@ WeatherPluginImpl::~WeatherPluginImpl()
42 42
43TodayPluginObject* WeatherPluginImpl::guiPart() 43TodayPluginObject* WeatherPluginImpl::guiPart()
44{ 44{
45 return weatherPlugin; 45 return weatherPlugin;
46} 46}
47 47
48QRESULT WeatherPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) 48QRESULT WeatherPluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
49{ 49{
50 *iface = 0; 50 *iface = 0;
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}
58 59
59Q_EXPORT_INTERFACE() 60Q_EXPORT_INTERFACE()
60{ 61{
61 Q_CREATE_INSTANCE( WeatherPluginImpl ); 62 Q_CREATE_INSTANCE( WeatherPluginImpl );
62} 63}