Make userCommand invokable so that the host command code can find it.

This commit is contained in:
Tobias Hieta 2015-12-06 13:24:43 +01:00
parent 3d778a8608
commit 6f84cbe988

View File

@ -78,7 +78,7 @@ public:
// only. If no video is running, render a black background only.
Q_INVOKABLE virtual void setVideoOnlyMode(bool enable);
void userCommand(const QString& command);
Q_INVOKABLE void userCommand(const QString& command);
const mpv::qt::Handle getMpvHandle() const { return m_mpv; }