mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
moved enum metadata registration out of static methods of QObject-derived classes, which fixes #280 (GCC linker errors)
This commit is contained in:
committed by
Klaus Basan
parent
f775ac88d3
commit
e7c14e2c1c
@@ -9,11 +9,4 @@ namespace BlackCore
|
||||
{
|
||||
ISimulator::ISimulator(QObject *parent) : QObject(parent)
|
||||
{ }
|
||||
|
||||
void ISimulator::registerMetadata()
|
||||
{
|
||||
// for some reasons (ask RW) this is registered twice, see IVoice
|
||||
qRegisterMetaType<Status>();
|
||||
qRegisterMetaType<Status>("Status");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user