diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2014-10-31 22:38:56 +0100 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2014-11-03 10:55:13 +0100 |
commit | 3ad7742b28001310d219bca3c9c6fec587dcd557 (patch) | |
tree | 7895c3e3344a61d45955f08fe98002fc8fe61173 /header.LGPL | |
parent | 2e207e29436cbe953df99783a9577a9776a200bb (diff) |
Fix QMetaType::metaObjectForType for QtGui and QtWidgets types
Follow the same convention as other functions using the QMetaTypeSwitcher
It was not a problem since none of the built-ins type in QtWidgets
or QtGui were pointer and could not have a QMetaObject. But since
we want to register the metaobject for Q_GADGET, it would fail compilation
as types like QFont are not defined in QtCore.
Change-Id: I6307bf6f25439ed48355ef7ecfa60575de318a25
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'header.LGPL')
0 files changed, 0 insertions, 0 deletions