subsurface/mobile-widgets
Berthold Stoeger 2fcd4fff0a cleanup: fix NOCLOUD_LOCALSTORAGE leak
The macro NOCLOUD_LOCALSTORAGE creates the path to the local git
repository as a C-string. None of the users were freeing the string
and thus leaking memory.

Replace the macro by an inline function that creates a QString
and pass down to C-functions using the qPrintable() macro.
Note that every qPrintable() invocation does a UTF16->UTF8
conversion. This could be avoided by either using a std::string
or a QByteArray. However, we are talking about microseconds of
CPU time in operations that typically take seconds. Not worth
it.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-03-09 12:11:01 -07:00
..
qml mobile UI: remove obsolete access to already removed model role 2020-03-07 18:47:18 -08:00
CMakeLists.txt mobile-widgets: add themeInterface 2020-01-26 16:42:35 -08:00
qmlinterface.cpp mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlinterface.h mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlmanager.cpp cleanup: fix NOCLOUD_LOCALSTORAGE leak 2020-03-09 12:11:01 -07:00
qmlmanager.h cleanup: fix NOCLOUD_LOCALSTORAGE leak 2020-03-09 12:11:01 -07:00
themeinterface.cpp mobile UI: fix font size breakage on Android 2020-02-09 16:45:04 -08:00
themeinterface.h mobile-widgets/themeinterface: make most part static 2020-02-03 17:30:15 -08:00