~ubuntu-branches/ubuntu/saucy/bibletime/saucy

« back to all changes in this revision

Viewing changes to src/backend/bookshelfmodel/btbookshelftreemodel.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-08-12 21:02:54 UTC
  • mfrom: (9.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20130812210254-rvyf2k0jj4rboz52
Tags: 2.9.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
 
368
368
void BtBookshelfTreeModel::addModule(CSwordModuleInfo *module, bool checked) {
369
369
    if (m_modules.contains(module)) return;
 
370
 
 
371
#if QT_VERSION >= 0x040600
 
372
    beginResetModel();
 
373
#endif
370
374
    Grouping g(m_groupingOrder);
371
375
    addModule(module, QModelIndex(), g, checked);
372
376
 
376
380
           new modules. As a side effect, all attached views will also reset
377
381
           themselves.
378
382
    */
 
383
 
 
384
#if QT_VERSION >= 0x040600
 
385
    endResetModel();
 
386
#else
379
387
    reset();
 
388
#endif
380
389
}
381
390
 
382
391
void BtBookshelfTreeModel::addModule(CSwordModuleInfo *module,