fix indexes and debug info

This commit is contained in:
Chris Cochrun 2023-01-20 07:31:43 -06:00
parent 453c67f237
commit 983bb24259
2 changed files with 3 additions and 2 deletions

View file

@ -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() << "#################################";

View file

@ -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() << "#################################";
}