qt: register qml singleton type PlayerListModel
commit20725496ae914d9a11372020dc58b1d2e0f9a367
authorFatih Uzunoglu <fuzun54@outlook.com>
Thu, 1 Apr 2021 22:22:35 +0000 (2 01:22 +0300)
committerPierre Lamot <pierre@videolabs.io>
Tue, 6 Apr 2021 09:54:15 +0000 (6 11:54 +0200)
treee5560746b453cc79fe6bc68d170f36ec704130f6
parenteb9b3a03783aff3ee4af9c566aaa1439e2ebe9d8
qt: register qml singleton type PlayerListModel

qmlRegisterSingletonType provides a convenient way
for the QML-side to invoke static methods of classes
that are not created or can not be created.

PlayerListModel singleton is generated from the
static function of
PlayerControlbarModel::getPlaylistIdentifierListModel.

Signed-off-by: Pierre Lamot <pierre@videolabs.io>
modules/gui/qt/maininterface/mainui.cpp