fix indexes and debug info
This commit is contained in:
parent
453c67f237
commit
983bb24259
2 changed files with 3 additions and 2 deletions
|
@ -394,12 +394,12 @@ void ServiceItemModel::insertItem(const int &index, const QString &name,
|
|||
slideModel.insertItem(slideModelIdx, type, "", background, "",
|
||||
audio, font, fontSize,
|
||||
"center", "center",
|
||||
rowCount(), 1, 1);
|
||||
rowCount(), 0, 1);
|
||||
} else {
|
||||
slideModel.insertItem(slideModelIdx, type, background, "", "",
|
||||
audio, font, fontSize,
|
||||
"center", "center",
|
||||
rowCount(), 1, 1);
|
||||
rowCount(), 0, 1);
|
||||
}
|
||||
insertItem(index, item);
|
||||
qDebug() << "#################################";
|
||||
|
|
|
@ -275,6 +275,7 @@ void SlideModel::insertItem(const int &index,
|
|||
item->setServiceItemId(serviceItemId);
|
||||
insertItem(index, item);
|
||||
qDebug() << "#################################";
|
||||
qDebug() << "ADDING A NEW SLIDE INTO MODEL!";
|
||||
qDebug() << type << font << fontSize << slideIndex;
|
||||
qDebug() << "#################################";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue