From 99c7d3f5f391656362e921401e7ef49139c0df0f Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Wed, 11 Jan 2012 14:04:45 +0100 Subject: [PATCH] only check for remote settings if we generated the dialog ourselves --- applet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/applet.cpp b/applet.cpp index 5fa4e142d..6db48dbfb 100644 --- a/applet.cpp +++ b/applet.cpp @@ -1878,7 +1878,6 @@ void Applet::showConfigurationInterface() } if (immutability() != Mutable && !KAuthorized::authorize("plasma/allow_configure_when_locked")) { - //FIXME: in 4.3 add an explanatory dialog return; } @@ -2112,7 +2111,7 @@ void AppletPrivate::configDialogFinished() } #ifdef ENABLE_REMOTE_WIDGETS - if (publishUI.publishCheckbox) { + if (KConfigDialog::exists(configDialogId()) && publishUI.publishCheckbox) { q->config().writeEntry("Share", publishUI.publishCheckbox->isChecked()); if (publishUI.publishCheckbox->isChecked()) {