diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-30 21:48:29 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-30 13:54:12 -0700 |
commit | 53b216b228165db4a31d122f09e4d481d8ef321b (patch) | |
tree | 1b6a1bcfed7f6e57792121b613c7af337ce44521 /desktop-widgets/templateedit.cpp | |
parent | 2db6b16a708a7dedaca15566f6e898a3ee2035f1 (diff) | |
download | subsurface-53b216b228165db4a31d122f09e4d481d8ef321b.tar.gz |
cleanup: move initialization of QMLInterface
QMLInterface was initialized in the register_qml_types function.
Therein, it was in an if branch that tested whether the passed-in
engine argument was not NULL. However, on mobile this could never
be NULL. Let's just move the initialization out of that function.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/templateedit.cpp')
0 files changed, 0 insertions, 0 deletions