Cleanup: connect QMLInterface signals in constructor

It appears weird to connect the QMLInterface signal/slot combination
in a static helper function. This generates a bunch of lambdas that
call the instance() function.

Instead, simply do the connections in the constructor as we do it
in numerous other places.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-01-31 09:37:08 +01:00 committed by bstoeger
parent 9452a78b1d
commit 188e513761
2 changed files with 80 additions and 77 deletions

View file

@ -317,6 +317,6 @@ signals:
void diveSummaryTextChanged(QStringList);
private:
QMLInterface() {}
QMLInterface();
};
#endif // QMLINTERFACE_H