DBus test (GUI + core) fixes

* removed unused signals
* marked relayParentSignals as deprecated, currently not used
This commit is contained in:
Klaus Basan
2018-08-09 01:12:21 +02:00
parent e114c8c99c
commit 92880bce7f
3 changed files with 4 additions and 16 deletions

View File

@@ -43,8 +43,10 @@ namespace BlackMisc
//! For each signal in parent, attempt to connect to it an interface signal of the same name.
//! \see BLACK_NO_RELAY
//! \deprecated KB 2018-08 this seems to be not used anymore and might be removed
void relayParentSignals()
{
Q_ASSERT_X(false, Q_FUNC_INFO, "crosscheck if still used");
const QMetaObject *metaObject = this->parent()->metaObject();
const QMetaObject *superMetaObject = metaObject;
while (strcmp(superMetaObject->superClass()->className(), "QObject") != 0) { superMetaObject = superMetaObject->superClass(); }