summaryrefslogtreecommitdiffstats
path: root/src/multimedia/playback
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2010-02-11 00:29:27 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2010-02-11 00:29:27 (GMT)
commit510d619f86c3f5464e05ab4d27b3f5eddd7b5135 (patch)
tree84a77a1c9a46ee81b90950202830b5bbc58ce693 /src/multimedia/playback
parenteab600d2d58a2f638636281ec5db65b4a07b890f (diff)
downloadQt-510d619f86c3f5464e05ab4d27b3f5eddd7b5135.zip
Qt-510d619f86c3f5464e05ab4d27b3f5eddd7b5135.tar.gz
Qt-510d619f86c3f5464e05ab4d27b3f5eddd7b5135.tar.bz2
Add virtual destructors to QMediaObjectPrivate and QMediaServicePrivate.
This reverts aec0628295cda95f2169e3007368797ba6585ee3 and fixes the actual problem, which is the destructors for for classes inheriting QMediaObjectPrivate weren't being called resulting in QPointer destructors also not being called.
Diffstat (limited to 'src/multimedia/playback')
-rw-r--r--src/multimedia/playback/qmediaplayer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/multimedia/playback/qmediaplayer.cpp b/src/multimedia/playback/qmediaplayer.cpp
index d3dfbb2..0853597 100644
--- a/src/multimedia/playback/qmediaplayer.cpp
+++ b/src/multimedia/playback/qmediaplayer.cpp
@@ -308,8 +308,6 @@ QMediaPlayer::~QMediaPlayer()
Q_D(QMediaPlayer);
d->provider->releaseService(d->service);
- d->videoWidget = 0;
- d->videoItem = 0;
}
QMediaContent QMediaPlayer::media() const