]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocModel.cpp
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / TocModel.cpp
index 6320536f59eb91030ee8a10a3c69a4cc0ea7ebbc..cd1189b49b473371c2e2b6ce53ee76147dfe8c18 100644 (file)
 #include "DocIterator.h"
 #include "FuncRequest.h"
 #include "LyX.h"
+#include "qt_helpers.h"
 #include "TocBackend.h"
 
 #include "support/debug.h"
 #include "support/lassert.h"
 
 #include <QSortFilterProxyModel>
+#include <QStandardItemModel>
+
 
 #include <climits>
 
@@ -330,13 +333,6 @@ TocItem const TocModels::currentItem(QString const & type,
 }
  
 
-void TocModels::updateBackend() const
-{
-       bv_->buffer().masterBuffer()->tocBackend().update();
-       bv_->buffer().structureChanged();
-}
-
-
 void TocModels::updateItem(QString const & type, DocIterator const & dit)
 {
        models_[type]->updateItem(dit);