mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #116 removed firstBlackMetaType as it is no longer needed
This commit is contained in:
@@ -131,10 +131,7 @@ void BlackMisc::Hardware::registerMetadata()
|
||||
*/
|
||||
void BlackMisc::registerMetadata()
|
||||
{
|
||||
CVariant::registerMetadata(); // before the others because it's not a CValueObject
|
||||
|
||||
// !! make sure the first valueobject id is correctly returned by
|
||||
// !! firstBlackMetaType
|
||||
CVariant::registerMetadata();
|
||||
CIndexVariantMap::registerMetadata();
|
||||
|
||||
CStatusMessage::registerMetadata();
|
||||
@@ -151,15 +148,6 @@ void BlackMisc::registerMetadata()
|
||||
Hardware::registerMetadata();
|
||||
}
|
||||
|
||||
/*
|
||||
* First of our ids
|
||||
*/
|
||||
int BlackMisc::firstBlackMetaType()
|
||||
{
|
||||
// must be the first registered above
|
||||
return qMetaTypeId<CIndexVariantMap>();
|
||||
}
|
||||
|
||||
/*
|
||||
* Init resources
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user