From c0384f1ed99f108d7b2120900ff7d7f090ad6250 Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 16 Jun 2005 11:32:35 +0000 Subject: fixxxx --- diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 2012e92..eac2f29 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -4022,6 +4022,7 @@ void CalendarView::editFilters() } mDialogManager->showFilterEditDialog(&mFilters); + updateFilter(); } void CalendarView::toggleFilter() { @@ -4093,6 +4094,7 @@ void CalendarView::updateFilter() topLevelWidget()->setCaption( mess ); } + emit filtersUpdated(); } void CalendarView::filterEdited() diff --git a/korganizer/calendarview.h b/korganizer/calendarview.h index d836fee..be18e8f 100644 --- a/korganizer/calendarview.h +++ b/korganizer/calendarview.h @@ -194,6 +194,7 @@ class CalendarView : public KOrg::CalendarViewBase, public KCal::Calendar::Obser void calendarViewExpanded( bool ); void updateSearchDialog(); + void filtersUpdated(); public slots: diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 472a978..13e186d 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1301,7 +1301,7 @@ void MainWindow::initActions() if ( filterMenubar ) { filterMenubar->reparent(filterToolBar,0,QPoint(0,0) ); - connect( mView->filterView(), SIGNAL( filterChanged() ), SLOT( updateFilterToolbar() ) ); + connect( mView, SIGNAL( filtersUpdated() ), SLOT( updateFilterToolbar() ) ); } connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) ); configureAgenda( p->mHourSize ); -- cgit v0.9.0.2