summaryrefslogtreecommitdiffabout
path: root/korganizer/kofilterview.cpp
authorzautrix <zautrix>2005-06-25 14:48:56 (UTC)
committer zautrix <zautrix>2005-06-25 14:48:56 (UTC)
commit490736d9f921a4cf2b094ae76971b31a6b145544 (patch) (side-by-side diff)
tree880406a06bfcf8b5042a7e04b402e577839619cc /korganizer/kofilterview.cpp
parent70e025b560e0060804610c182d3b04a6e6a63b70 (diff)
downloadkdepimpi-490736d9f921a4cf2b094ae76971b31a6b145544.zip
kdepimpi-490736d9f921a4cf2b094ae76971b31a6b145544.tar.gz
kdepimpi-490736d9f921a4cf2b094ae76971b31a6b145544.tar.bz2
fixxxxx
Diffstat (limited to 'korganizer/kofilterview.cpp') (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
@@ -180,10 +180,12 @@ void KOCalEditView::selectReadOnly(int id ,bool b )
if ( KOPrefs::instance()->getCalendar( id )->isStandard && b && id > 1 ) {
KOPrefs::instance()->getCalendar( id )->isStandard = false;
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() ) );
}
void KOCalEditView::setColor( const QColor& c, int id )
@@ -279,15 +281,6 @@ void KOCalEditView::readConfig()
mainLayout->addWidget( lab,0,++ii );
-#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();
int row = 1;
while ( kkf ) {