Skip to content
Permalink
Browse files
Merge pull request #6980 from spycrab/qt_fix_gamelist
Qt/GameTracker: Register missing metatype
  • Loading branch information
spycrab committed May 27, 2018
2 parents 3798127 + 0cf59ad commit febc1f8
Showing 1 changed file with 2 additions and 0 deletions.
@@ -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);

0 comments on commit febc1f8

Please sign in to comment.