diff options
Diffstat (limited to 'src/controller.cpp')
-rw-r--r-- | src/controller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controller.cpp b/src/controller.cpp index 1713047..948d7c0 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -577,7 +577,7 @@ void Controller::plugUpdateMenu(TQPopupMenu* popup_) { TQPopupMenu* updatePopup = 0; const uint count = popup_->count(); for(uint i = 0; i < count; ++i) { - TQMenuItem* item = popup_->tqfindItem(popup_->idAt(i)); + TQMenuItem* item = popup_->findItem(popup_->idAt(i)); if(item && item->text() == m_mainWindow->m_updateEntryMenu->text()) { updatePopup = item->popup(); break; @@ -679,7 +679,7 @@ void Controller::slotCheckOut() { for(Data::BorrowerVec::ConstIterator it = borrowers.begin(); it != borrowers.end(); ++it) { const Data::LoanVec& loans = it->loans(); for(Data::LoanVec::ConstIterator it2 = loans.begin(); it2 != loans.end(); ++it2) { - if(m_selectedEntries.tqcontains(it2->entry())) { + if(m_selectedEntries.contains(it2->entry())) { alreadyLoaned.insert(it2->entry()->title(), it2->entry()); } } |