fixing bug with pdf not showing first pdf if changed previously
This commit is contained in:
parent
6f1d2ca4fa
commit
8b6e5e2ad3
1 changed files with 1 additions and 2 deletions
|
@ -214,6 +214,7 @@ void Slide::changeSlide(QVariantMap item)
|
|||
setText("");
|
||||
m_slideSize = 1;
|
||||
m_slideIndex = 1;
|
||||
setPdfIndex(0);
|
||||
|
||||
qDebug() << serviceItem().value("backgroundType").toString();
|
||||
if (serviceItem().value("backgroundType") == "image") {
|
||||
|
@ -248,9 +249,7 @@ void Slide::changeSlide(QVariantMap item)
|
|||
setImageCount(pageCount);
|
||||
qDebug() << m_imageCount;
|
||||
m_slideSize = m_imageCount;
|
||||
m_slideIndex = 1;
|
||||
}
|
||||
setPdfIndex(0);
|
||||
|
||||
QStringList text = m_serviceItem.value("text").toStringList();
|
||||
if (type() == "song") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue