diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-11-16 13:41:57 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-11-16 14:07:21 (GMT) |
commit | 1bc673c89155119d110861efbc7b6b7b06091b39 (patch) | |
tree | ec34e2a3afb6ba5cf184afd26d543a2bed81d0e7 /demos/qmediaplayer/mediaplayer.h | |
parent | 6df2f295c7efddac12de87f8bfa347ab28761a6b (diff) | |
download | Qt-1bc673c89155119d110861efbc7b6b7b06091b39.zip Qt-1bc673c89155119d110861efbc7b6b7b06091b39.tar.gz Qt-1bc673c89155119d110861efbc7b6b7b06091b39.tar.bz2 |
qmediaplayer: pausing behavior for dialog inconvenient.
qmediaplayer when popping up dialogs shouldn't:
* play when it's paused
* pause when playing only audio
Task-number: QTBUG-5851
Reviewed-by: Gareth Stockwell
Diffstat (limited to 'demos/qmediaplayer/mediaplayer.h')
-rw-r--r-- | demos/qmediaplayer/mediaplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/qmediaplayer/mediaplayer.h b/demos/qmediaplayer/mediaplayer.h index a1c3d92..c181e37 100644 --- a/demos/qmediaplayer/mediaplayer.h +++ b/demos/qmediaplayer/mediaplayer.h @@ -111,7 +111,7 @@ private slots: void hasVideoChanged(bool); private: - void playPauseForDialog(); + bool playPauseForDialog(); QIcon playIcon; QIcon pauseIcon; |