Git commit 05f704ce69546b6a8b90644e9f46357c2e28801b by Montel Laurent. Committed on 31/01/2013 at 23:11. Pushed by mlaurent into branch 'KDE/4.10'. Apply patch from Chuso Perez "MainWindow tries to connect TrayIcon slots to some signals sent by TimetrackerWidget. But these signals are not being emitted by TimetrackerWidget, they are being emitted by TaskView. This code patches TimetrackerWidget to receive those TaskView signals and propagate them so MainWindow can receive them to connect them to TrayIcon." REVIEW: 107482 M +6 -0 ktimetracker/timetrackerwidget.cpp http://commits.kde.org/kdepim/05f704ce69546b6a8b90644e9f46357c2e28801b diff --git a/ktimetracker/timetrackerwidget.cpp b/ktimetracker/timetrackerw= idget.cpp index f2d1d7a..bdcba7d 100644 --- a/ktimetracker/timetrackerwidget.cpp +++ b/ktimetracker/timetrackerwidget.cpp @@ -160,6 +160,12 @@ void TimetrackerWidget::addTaskView( const QString &fi= leName ) = connect( taskView, SIGNAL(contextMenuRequested(QPoint)), this, SIGNAL(contextMenuRequested(QPoint)) ); + connect( taskView, SIGNAL(timersActive()), + this, SIGNAL(timersActive()) ); + connect( taskView, SIGNAL(timersInactive()), + this, SIGNAL(timersInactive()) ); + connect( taskView, SIGNAL(tasksChanged(QList)), + this, SIGNAL(tasksChanged(QList))); = emit setCaption( fileName ); taskView->load( lFileName );