mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
9452a78b1d
commit
188e513761
2 changed files with 80 additions and 77 deletions
|
|
@ -317,6 +317,6 @@ signals:
|
|||
|
||||
void diveSummaryTextChanged(QStringList);
|
||||
private:
|
||||
QMLInterface() {}
|
||||
QMLInterface();
|
||||
};
|
||||
#endif // QMLINTERFACE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue