summaryrefslogtreecommitdiff
path: root/core/applets/screenshotapplet
Side-by-side diff
Diffstat (limited to 'core/applets/screenshotapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/screenshotapplet/screenshotappletimpl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/applets/screenshotapplet/screenshotappletimpl.cpp b/core/applets/screenshotapplet/screenshotappletimpl.cpp
index a537162..4a7512e 100644
--- a/core/applets/screenshotapplet/screenshotappletimpl.cpp
+++ b/core/applets/screenshotapplet/screenshotappletimpl.cpp
@@ -52,3 +52,5 @@ QRESULT ScreenshotAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterfa
*iface = this;
-
+ else
+ return QS_FALSE;
+
if ( *iface )