summaryrefslogtreecommitdiff
path: root/core/applets/restartapplet2/restart.cpp
authorzecke <zecke>2004-01-27 18:48:09 (UTC)
committer zecke <zecke>2004-01-27 18:48:09 (UTC)
commitfbe767bcc9f46f1d9bf680dc91eba983bc39fdeb (patch) (unidiff)
tree453b0a48a4e40316ea377b0b4a05a39a16849136 /core/applets/restartapplet2/restart.cpp
parent068604863e009b20790cd2aa482e216eb40b8876 (diff)
downloadopie-fbe767bcc9f46f1d9bf680dc91eba983bc39fdeb.zip
opie-fbe767bcc9f46f1d9bf680dc91eba983bc39fdeb.tar.gz
opie-fbe767bcc9f46f1d9bf680dc91eba983bc39fdeb.tar.bz2
Funny what my SDK all triggers
Ok the reason to use a bool as return type is that you can say that something worked or not worked. So if we don't implement the given interface don't lie!!
Diffstat (limited to 'core/applets/restartapplet2/restart.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/restartapplet2/restart.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/restartapplet2/restart.cpp b/core/applets/restartapplet2/restart.cpp
index caed9e5..576087b 100644
--- a/core/applets/restartapplet2/restart.cpp
+++ b/core/applets/restartapplet2/restart.cpp
@@ -93,6 +93,8 @@ QRESULT RestartApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **i
93 *iface = this; 93 *iface = this;
94 else if ( uuid == IID_MenuApplet ) 94 else if ( uuid == IID_MenuApplet )
95 *iface = this; 95 *iface = this;
96 else
97 return QS_FALSE;
96 98
97 if ( *iface ) 99 if ( *iface )
98 (*iface)-> addRef ( ); 100 (*iface)-> addRef ( );