File r900003.diff of Package kdepim4

Subject: korganizer: hide redundant configure plugin button
From: wstephenson@suse.de
Bug: 
Patch-upstream: 900003
--- korganizer/koprefsdialog.cpp	(revision 900002)
+++ korganizer/koprefsdialog.cpp	(revision 900003)
@@ -1440,7 +1440,12 @@ void KOPrefsDialogPlugins::selectionChan
   }
 
   mDescription->setText( item->service()->comment() );
-  mConfigureButton->setEnabled( hasSettings && ( item->checkState(0) == Qt::Checked ) ) ;
+  if ( !hasSettings ) {
+    mConfigureButton->hide();
+  } else {
+    mConfigureButton->show();
+    mConfigureButton->setEnabled( item->checkState(0) == Qt::Checked );
+  }
 
   if ( item->service()->hasServiceType( KOrg::CalendarDecoration::Decoration::serviceType() ) ) {
     QString decoration = item->service()->desktopEntryName();
Index: korganizer/koprefsdialog.cpp
===================================================================
openSUSE Build Service is sponsored by