Qt/GameTracker: Register missing metatype
This commit is contained in:
parent
7b07424885
commit
0cf59adeb5
|
@ -23,6 +23,8 @@ static const QStringList game_filters{
|
|||
GameTracker::GameTracker(QObject* parent) : QFileSystemWatcher(parent)
|
||||
{
|
||||
qRegisterMetaType<std::shared_ptr<const UICommon::GameFile>>();
|
||||
qRegisterMetaType<std::string>();
|
||||
|
||||
connect(this, &QFileSystemWatcher::directoryChanged, this, &GameTracker::UpdateDirectory);
|
||||
connect(this, &QFileSystemWatcher::fileChanged, this, &GameTracker::UpdateFile);
|
||||
|
||||
|
|
Loading…
Reference in New Issue