X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt%2FTocModel.h;h=ee447616d0d448ca1e6a0067b3c7846f71e1e8c0;hb=b41293352ea8d52890b7668f059fd07f09bd6bb6;hp=55507a0a9258893e2dc016b932501bb0043d9d94;hpb=2941bc01981f151df9360312594bd0517ecc7d3a;p=features.git diff --git a/src/frontends/qt/TocModel.h b/src/frontends/qt/TocModel.h index 55507a0a92..ee447616d0 100644 --- a/src/frontends/qt/TocModel.h +++ b/src/frontends/qt/TocModel.h @@ -47,6 +47,8 @@ public: /// void clear(); /// + bool empty() { return toc_->empty(); } + /// QAbstractItemModel * model(); /// QAbstractItemModel const * model() const;