diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2021-01-17 21:26:21 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2021-01-18 08:21:42 -0500 |
| commit | 6feab2ea8f96704e44a14c212a635dc17f4ba71e (patch) | |
| tree | e39b12f7cb7f37cd96b3c3f451d2b527a81d4578 /src/shared/leaktrace.h | |
| parent | 0d641f39776a2d5a1cd217531d3a3e39d3a3c670 (diff) | |
moved criticalOnTop() to uibase
changed all calls to reportError(), which now uses the main window if it exists as a parent, or calls criticalOnTop()
added errors when running something from the command line for a different instance/profile
removed unused crap
Diffstat (limited to 'src/shared/leaktrace.h')
| -rw-r--r-- | src/shared/leaktrace.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/shared/leaktrace.h b/src/shared/leaktrace.h deleted file mode 100644 index 4985925e..00000000 --- a/src/shared/leaktrace.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef LEAKTRACE_H
-#define LEAKTRACE_H
-
-
-namespace LeakTrace {
-
-void TraceAlloc(void *ptr, const char *functionName, int line);
-void TraceDealloc(void *ptr);
-
-};
-
-#ifdef TRACE_LEAKS
-
-#define LEAK_TRACE LeakTrace::TraceAlloc(this, __FUNCTION__, __LINE__)
-#define LEAK_UNTRACE LeakTrace::TraceDealloc(this)
-
-#else // TRACE_LEAKS
-
-#define LEAK_TRACE
-#define LEAK_UNTRACE
-
-#endif // TRACE_LEAKS
-
-#endif // LEAKTRACE_H
|
