mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
16b31985c3
Thus, the membuffer data is automatically freed when going out of scope - one thing less to worry about. This fixes one use-after-free bug in uploadDiveLogsDE.cpp and one extremely questionable practice in divetooltipitem.cpp: The membuffer was a shared instance across all instances of the DiveToolTipItem. Remves unnecessary #include directives in files that didn't even use membuffer. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
exportfuncs.cpp | ||
exportfuncs.h | ||
plannershared.cpp | ||
plannershared.h | ||
README | ||
roundrectitem.cpp | ||
roundrectitem.h |
This directory contains shared UI backend code shared between the desktop version and the mobile version. The backend code sits between the actual functionality, which are implemented in core and qt-models, and the UI/QML which are implemented in desktop-widgets and mobile-widgets. The idea of backend is not to duplicate code, and at the same time limit the UI and QML to only deal with real GUI. The first implementations for backend are "export" and "diveplanner".