diff -r c8b1a3564c74 -r b77b56f707f1 selection.cpp --- a/selection.cpp Wed Dec 10 13:10:35 2008 +0000 +++ b/selection.cpp Mon Jan 05 16:31:38 2009 +0000 @@ -21,7 +21,6 @@ void Selection::setModel (VymModel *m) { model=m; - selModel=model->getSelectionModel(); } void Selection::copy(const Selection &other) @@ -188,7 +187,7 @@ QModelIndex Selection::getBranchIndex() { - return selModel->selectedIndexes().first(); // TODO no multiselections yet + return model->getSelectionModel()->selectedIndexes().first(); // TODO no multiselections yet }