summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2015-10-26 15:06:15 (GMT)
committerAlex Merry <alex.merry@kde.org>2015-10-26 15:06:15 (GMT)
commit4087e54727554add7f3274dc14de132dcd157285 (patch)
treecfaa0986bbf12dfef81a945febb5c3b16b08575d
parentf8870e60f493dc31c004f17dc9e1e9121598eb7b (diff)
Fix build: PlayOnce -> PlayLimited.
A commit that changed the name of this enum value was merged from the master branch, and the merge didn't take into account that it was used in code that only exists in the frameworks branch.
-rw-r--r--generators/poppler/generator_pdf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/poppler/generator_pdf.cpp b/generators/poppler/generator_pdf.cpp
index c8d87cb..c2a7aa7 100644
--- a/generators/poppler/generator_pdf.cpp
+++ b/generators/poppler/generator_pdf.cpp
@@ -282,7 +282,7 @@ QPair<Okular::Movie*, Okular::EmbeddedFile*> createMovieFromPopplerRichMedia( co
Okular::EmbeddedFile *pdfEmbeddedFile = new PDFEmbeddedFile( embeddedFile );
Okular::Movie *movie = new Okular::Movie( embeddedFile->name(), embeddedFile->data() );
- movie->setPlayMode( playbackLoops ? Okular::Movie::PlayRepeat : Okular::Movie::PlayOnce );
+ movie->setPlayMode( playbackLoops ? Okular::Movie::PlayRepeat : Okular::Movie::PlayLimited );
if ( popplerRichMedia && popplerRichMedia->settings() && popplerRichMedia->settings()->activation() ) {
if ( popplerRichMedia->settings()->activation()->condition() == Poppler::RichMediaAnnotation::Activation::PageOpened ||