diff options
Diffstat (limited to 'office/texstudio/phonon-fix.patch')
-rw-r--r-- | office/texstudio/phonon-fix.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/office/texstudio/phonon-fix.patch b/office/texstudio/phonon-fix.patch deleted file mode 100644 index 867759f34ecb2..0000000000000 --- a/office/texstudio/phonon-fix.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/pdfviewer/PDFDocument.cpp -+++ b/pdfviewer/PDFDocument.cpp -@@ -360,7 +360,7 @@ - } - - #ifdef PHONON --PDFMovie::PDFMovie(PDFWidget *parent, Poppler::MovieAnnotation *annot, int page): VideoPlayer(parent), page(page) -+PDFMovie::PDFMovie(PDFWidget *parent, QSharedPointer<Poppler::MovieAnnotation> annot, int page): VideoPlayer(parent), page(page) - { - REQUIRE(parent && annot && parent->getPDFDocument()); - REQUIRE(annot->subType() == Poppler::Annotation::AMovie); -@@ -862,7 +862,7 @@ - case Poppler::Annotation::AMovie: { - #ifdef PHONON - if (movie) delete movie; -- movie = new PDFMovie(this, dynamic_cast<Poppler::MovieAnnotation *>(annotation), page); -+ movie = new PDFMovie(this, qSharedPointerDynamicCast<Poppler::MovieAnnotation>(annotation), page); - movie->place(); - movie->show(); - movie->play(); ---- a/pdfviewer/PDFDocument.h -+++ b/pdfviewer/PDFDocument.h -@@ -104,7 +104,7 @@ - { - Q_OBJECT - public: -- PDFMovie(PDFWidget *parent, Poppler::MovieAnnotation *annot, int page); -+ PDFMovie(PDFWidget *parent, QSharedPointer<Poppler::MovieAnnotation> annot, int page); - void place(); - protected: - void contextMenuEvent(QContextMenuEvent *); |