Remove unused variable from TimelineModel::indexesOf
This commit is contained in:
parent
a9745ec117
commit
579b4f3f55
|
@ -25,7 +25,6 @@ std::pair<qsizetype, qsizetype> TimelineModel::indexesOf(QDate from, QDate to) c
|
||||||
|
|
||||||
while (begin > 0) {
|
while (begin > 0) {
|
||||||
--begin;
|
--begin;
|
||||||
const Item *item = m_items.at(begin);
|
|
||||||
if (m_items.at(begin)->departure() < from) {
|
if (m_items.at(begin)->departure() < from) {
|
||||||
++begin;
|
++begin;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue