summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kofilterview.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp
index 9709324..a8a3052 100644
--- a/korganizer/kofilterview.cpp
+++ b/korganizer/kofilterview.cpp
@@ -182,6 +182,8 @@ void KOCalEditView::selectReadOnly(int id ,bool b )
KOPrefs::instance()->getCalendar( 1 )->isStandard = true;
+ mStdandardB.at(0)->setChecked( true );
+ mStdandardB.at(id-1)->setChecked( false );
emit setCalendarDefault ( 1 );
}
+ mStdandardB.at(id-1)->setEnabled( !b );
emit needsUpdate();
- QTimer::singleShot( 0, this, SLOT ( readConfig() ) );
@@ -281,11 +283,2 @@ void KOCalEditView::readConfig()
-#if 0
- addBut = new QPushButton ( mw );
- mainLayout->addWidget( addBut,0,6 );
- addBut->setPixmap ( SmallIcon("minus"));
- connect(addBut,SIGNAL(clicked()),SLOT(deleteAll()));
- addBut->setMaximumWidth( addBut->sizeHint().height() );
-#endif
-
-
KopiCalendarFile * kkf = KOPrefs::instance()->mCalendars.first();