summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/korganizer
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/korganizer')
-rw-r--r--kontact/plugins/korganizer/korganizerplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kontact/plugins/korganizer/korganizerplugin.cpp b/kontact/plugins/korganizer/korganizerplugin.cpp
index f219661d2..f4a3dfe1b 100644
--- a/kontact/plugins/korganizer/korganizerplugin.cpp
+++ b/kontact/plugins/korganizer/korganizerplugin.cpp
@@ -215,7 +215,7 @@ void KOrganizerPlugin::processDropEvent( QDropEvent *event )
bool KOrganizerPlugin::queryClose() const {
KOrganizerIface_stub stub( kapp->dcopClient(), "korganizer", "KOrganizerIface" );
bool canClose=stub.canQueryClose();
- return canClose;
+ return (!canClose);
}
void KOrganizerPlugin::loadProfile( const QString& directory )