Changeset dc66a91 in confclerk_git for src/mvc/treeview.cpp


Ignore:
Timestamp:
10/17/11 20:15:33 (11 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
c81f30a
Parents:
264f5e7
Message:

The favorite tab gets updated again after changing the favorite state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/treeview.cpp

    r264f5e7 rdc66a91  
    8080                }
    8181
    82                 // have to emit 'eventHasChanged' signal on all events in conflict
     82                // have to emit 'eventChanged' signal on all events in conflict
    8383                for(int i=0; i<conflicts.count(); i++)
    84                     emit(eventHasChanged(conflicts[i].id()));
     84                    emit eventChanged(conflicts[i].id(), false);
    8585
    8686                // since the Favourite icon has changed, update TreeViews accordingly
    8787                // all TreeViews have to listen on this signal
    88                 emit(eventHasChanged(event.id(),true));
     88                emit eventChanged(event.id(), true);
    8989
    9090                handled = true;
     
    119119                // since the Alarm icon has changed, update TreeView accordingly
    120120                // all TreeViews have to listen on this signal
    121                 emit(eventHasChanged(event.id()));
     121                emit eventChanged(event.id(), false);
    122122                handled = true;
    123123            }
Note: See TracChangeset for help on using the changeset viewer.