summaryrefslogtreecommitdiffstats
path: root/kontact
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-21 16:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-21 16:22:56 +0000
commitf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (patch)
tree73817b5f3ca29478d158ce86aaf2e97572c92f57 /kontact
parent7973cbae4380599be85347745753327c94ebd806 (diff)
downloadtdepim-f587f20a6d09f1729dd0a8c1cd8ee0110aec7451.tar.gz
tdepim-f587f20a6d09f1729dd0a8c1cd8ee0110aec7451.zip
Inverted canQueryClose DCOP signal for korganizer plugin, so that if the DCOP interface is unavailable Kontact will still be able to close
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1152640 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kontact')
-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 )