subsurface/mobile-widgets
Berthold Stoeger 3b42de66dc Cleanup: remove QMLInterface::instance()
QMLInterface::instance() is only used in one single place. This
makes the whole notion of having a global instance of the object
moot, isn't it?

Simply make the object static to the function that uses it, which
guarantees that the object will be created when the function is
called. I.e. the same behavior is retained with less complexity.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-01-31 21:28:45 +01:00
..
qml mobile-widgets/qml/divesummary.qml: detect change in units 2020-01-30 19:51:50 +02:00
CMakeLists.txt mobile-widgets: add themeInterface 2020-01-26 16:42:35 -08:00
qmlinterface.cpp Cleanup: remove QMLInterface::instance() 2020-01-31 21:28:45 +01:00
qmlinterface.h Cleanup: remove QMLInterface::instance() 2020-01-31 21:28:45 +01:00
qmlmanager.cpp code cleanup: whitespace cleanup 2020-01-26 16:51:05 -08:00
qmlmanager.h mobile-widgets: add oldStatus variable to qmlmanager 2019-12-29 12:20:19 -08:00
themeinterface.cpp mobile-widgets: emit signals for each color 2020-01-30 07:53:34 +02:00
themeinterface.h mobile-widgets: emit signals for each color 2020-01-30 07:53:34 +02:00