Browse Source

Merge pull request #12602 from Chocobo1/metatype

adaptive-webui-19844
Mike Tzou 4 years ago committed by GitHub
parent
commit
7bc572afb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/base/bittorrent/session.h

5
src/base/bittorrent/session.h

@ -759,4 +759,9 @@ namespace BitTorrent @@ -759,4 +759,9 @@ namespace BitTorrent
};
}
#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0))
Q_DECLARE_METATYPE(std::shared_ptr<lt::entry>)
const int sharedPtrLtEntryTypeID = qRegisterMetaType<std::shared_ptr<lt::entry>>();
#endif
#endif // BITTORRENT_SESSION_H

Loading…
Cancel
Save