diff options
author | link2xt <link2xt@testrun.org> | 2021-05-30 20:45:54 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-05-30 20:45:54 +0300 |
commit | cb963ea6f2105790b028c597c4d4607b8bfbc276 (patch) | |
tree | ba73e5163ee88b4fa4cb17d4ed13a26b4e66190d /qml/Message.qml | |
parent | d44186f57dfe269d168edb5a6b3e4e29d7bb157c (diff) | |
download | kdeltachat-cb963ea6f2105790b028c597c4d4607b8bfbc276.tar.gz kdeltachat-cb963ea6f2105790b028c597c4d4607b8bfbc276.zip |
Message.qml: print MediaPlayer errors to console
Diffstat (limited to 'qml/Message.qml')
-rw-r--r-- | qml/Message.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qml/Message.qml b/qml/Message.qml index 6346124..cd574c1 100644 --- a/qml/Message.qml +++ b/qml/Message.qml @@ -69,6 +69,7 @@ RowLayout { MediaPlayer { id: player source: Qt.resolvedUrl("file:" + messageObject.message.file) + onError: console.log("Audio MediaPlayer error: " + errorString) } Label { font.bold: true @@ -89,6 +90,7 @@ RowLayout { MediaPlayer { id: videoplayer source: Qt.resolvedUrl("file:" + messageObject.message.file) + onError: console.log("Video MediaPlayer error: " + errorString) } VideoOutput { source: videoplayer |