Fix MSVC template error.

This commit is contained in:
Nathan Osman
2016-10-14 00:36:00 -07:00
parent 4cfbec7c6c
commit 7e7e6945a0

View File

@@ -133,7 +133,7 @@ public:
}
template <typename Func1>
inline typename QtPrivate::QEnableIf<!QtPrivate::is_convertible<Func1, QObject*>::value, void>::Type
inline typename QtPrivate::QEnableIf<!QtPrivate::AreArgumentsCompatible<Func1, QObject*>::value, void>::Type
registerMethod(const QString &name, Func1 slot, bool readAll = true) {
registerMethod(name, Q_NULLPTR, slot, readAll);
}