author | zautrix <zautrix> | 2005-06-16 11:32:35 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-16 11:32:35 (UTC) |
commit | c0384f1ed99f108d7b2120900ff7d7f090ad6250 (patch) (side-by-side diff) | |
tree | 9a02c76a023c6dd94273b21dc9d3621549790d55 /korganizer | |
parent | 9f60da2b6768e94d2aeb2f94a4479b6678f2aa76 (diff) | |
download | kdepimpi-c0384f1ed99f108d7b2120900ff7d7f090ad6250.zip kdepimpi-c0384f1ed99f108d7b2120900ff7d7f090ad6250.tar.gz kdepimpi-c0384f1ed99f108d7b2120900ff7d7f090ad6250.tar.bz2 |
fixxxx
-rw-r--r-- | korganizer/calendarview.cpp | 2 | ||||
-rw-r--r-- | korganizer/calendarview.h | 1 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 2012e92..eac2f29 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -4021,8 +4021,9 @@ void CalendarView::editFilters() filter = mFilters.next(); } mDialogManager->showFilterEditDialog(&mFilters); + updateFilter(); } void CalendarView::toggleFilter() { showFilter(! mCalEditView->isVisible()); @@ -4092,8 +4093,9 @@ void CalendarView::updateFilter() if ( !mess.isEmpty() ) 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 @@ -193,8 +193,9 @@ class CalendarView : public KOrg::CalendarViewBase, public KCal::Calendar::Obser void statusMessage(const QString &); void calendarViewExpanded( bool ); void updateSearchDialog(); + void filtersUpdated(); public slots: void checkAlarms(); diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 472a978..13e186d 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1300,9 +1300,9 @@ 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 ); connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) ); |