remove old debug info
This commit is contained in:
parent
609d2af90b
commit
23bc1435ea
2 changed files with 9 additions and 9 deletions
|
@ -516,12 +516,12 @@ bool SlideModel::activate(int id) {
|
|||
for (int i = 0; i < m_items.length(); i++) {
|
||||
QModelIndex idx = index(i);
|
||||
Slide *itm = m_items[idx.row()];
|
||||
qDebug() << i << m_items.length() << item->active() << itm->active();
|
||||
// qDebug() << i << m_items.length() << item->active() << itm->active();
|
||||
if (itm->active()) {
|
||||
itm->setActive(false);
|
||||
qDebug() << "################";
|
||||
qDebug() << "deactivated" << itm->slideIndex();
|
||||
qDebug() << "################";
|
||||
// qDebug() << "################";
|
||||
// qDebug() << "deactivated" << itm->slideIndex();
|
||||
// qDebug() << "################";
|
||||
emit dataChanged(idx, idx, QVector<int>() << ActiveRole);
|
||||
}
|
||||
}
|
||||
|
@ -539,9 +539,9 @@ bool SlideModel::deactivate(int id) {
|
|||
Slide *item = m_items[idx.row()];
|
||||
|
||||
item->setActive(false);
|
||||
qDebug() << "################";
|
||||
qDebug() << "deactivated" << item->slideIndex();
|
||||
qDebug() << "################";
|
||||
// qDebug() << "################";
|
||||
// qDebug() << "deactivated" << item->slideIndex();
|
||||
// qDebug() << "################";
|
||||
emit dataChanged(idx, idx, QVector<int>() << ActiveRole);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -61,8 +61,8 @@ bool SlideObject::loop() const
|
|||
}
|
||||
|
||||
void SlideObject::chngSlide(QVariantMap item, int index, SlideObj *slideObj) {
|
||||
qDebug() << "Here is the pointer to the slideObj" << slideObj;
|
||||
qDebug() << "Here is the item" << item;
|
||||
// qDebug() << "Here is the pointer to the slideObj" << slideObj;
|
||||
// qDebug() << "Here is the item" << item;
|
||||
slideObj->changeSlide(item, index);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue