summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/ds9/videorenderer_soft.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/phonon/ds9/videorenderer_soft.cpp')
-rw-r--r--src/3rdparty/phonon/ds9/videorenderer_soft.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/ds9/videorenderer_soft.cpp b/src/3rdparty/phonon/ds9/videorenderer_soft.cpp
index 9c7993c..0e04e85 100644
--- a/src/3rdparty/phonon/ds9/videorenderer_soft.cpp
+++ b/src/3rdparty/phonon/ds9/videorenderer_soft.cpp
@@ -25,7 +25,7 @@ along with this library. If not, see <http://www.gnu.org/licenses/>.
#include <QtGui/QPainter>
#include <QtGui/QPaintEngine>
-#include <QtGui/QApplication>
+#include <QtGui/QGuiApplication>
#include <QtCore/QTime>
#define _USE_MATH_DEFINES //for pi
@@ -546,7 +546,7 @@ namespace Phonon
//image is updated: we should update the widget
//we should never call directly members of target due to thread-safety
- QApplication::postEvent(m_renderer, new QEvent(QEvent::UpdateRequest));
+ QGuiApplication::postEvent(m_renderer, new QEvent(QEvent::UpdateRequest));
if (!playing) {
//useless to test the return value of WaitForSingleObject: timeout can't happen