making presentation type clearer

This commit is contained in:
Chris Cochrun 2022-09-24 13:35:36 -05:00
parent d52bbda181
commit 453ca7eefe
2 changed files with 3 additions and 3 deletions

View file

@ -843,7 +843,7 @@ Item {
onActiveChanged: {
if (presDragHandler.drag.active) {
dragItemTitle = title;
dragItemType = "pres";
dragItemType = "presentation";
dragItemText = "";
dragItemBackgroundType = "image";
dragItemBackground = filePath;

View file

@ -217,7 +217,7 @@ void Slide::changeSlide(QVariantMap item)
m_slideSize = 1;
m_slideIndex = 1;
if (type() == "pres") {
if (type() == "presentation") {
qDebug() << "#$#$#$#$ THIS PDF $#$#$#$#";
int pageCount;
QString str = imageBackground().remove(0,6);
@ -273,7 +273,7 @@ bool Slide::next(QVariantMap nextItem)
m_slideIndex++;
}
if (m_type == "pres") {
if (m_type == "presentation") {
qDebug() << "prev slide index: " << m_pdfIndex;
setPdfIndex(m_pdfIndex + 1);
qDebug() << "new slide index: " << m_pdfIndex;