mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: remove LOG_STP from mobile
LOG_STP is on longer providing the data needed, since a lot of the startup is indirectly in QML, furthermore using the xcode project and running profiler gives much more detailed information Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
a96be9af68
commit
bf7954ebe7
4 changed files with 0 additions and 65 deletions
15
core/ssrf.h
15
core/ssrf.h
|
@ -12,21 +12,6 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#ifdef SUBSURFACE_MOBILE
|
||||
#ifdef ENABLE_STARTUP_TIMING
|
||||
// Declare generic function, will be seen only in CPP code
|
||||
// Use void parameters to avoid extra includes
|
||||
extern void log_stp(const char *ident, QString *buf);
|
||||
|
||||
#define LOG_STP(x) log_stp(x, NULL)
|
||||
#define LOG_STP_CLIPBOARD(x) log_stp(NULL, x)
|
||||
#else
|
||||
#define LOG_STP(x)
|
||||
#define LOG_STP_CLIPBOARD(x)
|
||||
#endif // ENABLE_STARTUP_TIMING
|
||||
#endif // SUBSURFACE_MOBILE
|
||||
|
||||
}
|
||||
#else
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue