Companion custom functions sound playback fixes (#6000)
commit2eec091ac0bfe3d490fa21347995004eb0714d1b
authorMax Paperno <mpaperno@users.noreply.github.com>
Fri, 29 Jun 2018 06:04:45 +0000 (29 02:04 -0400)
committerBertrand Songis <bsongis@gmail.com>
Fri, 29 Jun 2018 06:04:45 +0000 (29 08:04 +0200)
tree33422087cb431f1bfdf8d22d9d118eb9fdb213b4
parentcb19949a823f41ea2250e16161e00178996f59bd
Companion custom functions sound playback fixes (#6000)

* [CompanionIcon] Can now add multiple image files to icon for representing different UI states (checked/active/etc).

* [Companion][CustomFunctionsPanel] Fix sound file locked after playback (fixes #5222, fixes #5997); Refactor play button (fixes #4929); Create new QMediaPlayer on each play and load in "LowLatency" mode instead of stream.
companion/src/helpers.cpp
companion/src/helpers.h
companion/src/modeledit/customfunctions.cpp
companion/src/modeledit/customfunctions.h