mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:13:24 +00:00
3eae683b57
Add static and inline to getter in all qPref header files Remove call to GET_PREFERENCE_* in qPrefDisplay.cpp Remove GET_PREFERENCE_* from qPrefPrivate.h static inline is slightly faster than a function call, but it saves a lot of coding lines (no lines in qPref*.cpp). Getters are a direct reference to struct preferences, so they will normally only be used from QML. Signed-off-by: Jan Iversen <jani@apache.org> |
||
---|---|---|
.. | ||
qPref.cpp | ||
qPref.h | ||
qPrefAnimations.cpp | ||
qPrefAnimations.h | ||
qPrefCloudStorage.cpp | ||
qPrefCloudStorage.h | ||
qPrefDisplay.cpp | ||
qPrefDisplay.h | ||
qPrefPrivate.cpp | ||
qPrefPrivate.h |