mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
3b42de66dc
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> |
||
---|---|---|
.. | ||
qml | ||
CMakeLists.txt | ||
qmlinterface.cpp | ||
qmlinterface.h | ||
qmlmanager.cpp | ||
qmlmanager.h | ||
themeinterface.cpp | ||
themeinterface.h |