[Marble-commits] KDE/kdeedu/marble/src/lib
Thibaut Gridel
tgridel at free.fr
Thu Jan 27 22:24:43 CET 2011
SVN commit 1217555 by tgridel:
MarbleModel: signal when treemodel data changes
M +2 -0 MarbleModel.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleModel.cpp #1217554:1217555
@@ -148,6 +148,8 @@
t.start();
d->m_dataFacade = new MarbleDataFacade( this );
+ connect(d->m_dataFacade->treeModel(), SIGNAL( dataChanged(QModelIndex,QModelIndex) ),
+ this, SIGNAL( modelChanged() ) );
connect(d->m_dataFacade->treeModel(), SIGNAL( layoutChanged() ),
this, SIGNAL( modelChanged() ) );
connect(d->m_dataFacade->treeModel(), SIGNAL( modelReset() ),
More information about the Marble-commits
mailing list