mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 03:27:24 +02:00
Clean up BugSplat initialization
This commit is contained in:
parent
65b82b9bba
commit
27384dbe0a
1 changed files with 2 additions and 6 deletions
|
@ -24,9 +24,9 @@
|
||||||
#include "Application.h"
|
#include "Application.h"
|
||||||
#include "InterfaceLogging.h"
|
#include "InterfaceLogging.h"
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
#include <BuildInfo.h>
|
|
||||||
|
|
||||||
#ifdef HAS_BUGSPLAT
|
#ifdef HAS_BUGSPLAT
|
||||||
|
#include <BuildInfo.h>
|
||||||
#include <BugSplat.h>
|
#include <BugSplat.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -35,11 +35,7 @@ int main(int argc, const char* argv[]) {
|
||||||
|
|
||||||
#if HAS_BUGSPLAT
|
#if HAS_BUGSPLAT
|
||||||
// BugSplat initialization
|
// BugSplat initialization
|
||||||
std::unique_ptr<wchar_t> version { new wchar_t(BuildInfo::VERSION.length() + 1) };
|
MiniDmpSender mpSender { "interface_alpha", "Interface", BuildInfo::VERSION.toLatin1().constData() };
|
||||||
BuildInfo::VERSION.toWCharArray(version.get());
|
|
||||||
version.get()[BuildInfo::VERSION.length()] = NULL;
|
|
||||||
std::unique_ptr<MiniDmpSender> mpSender { new MiniDmpSender(L"interface_alpha", L"Interface", version.get()) };
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QString applicationName = "High Fidelity Interface - " + qgetenv("USERNAME");
|
QString applicationName = "High Fidelity Interface - " + qgetenv("USERNAME");
|
||||||
|
|
Loading…
Reference in a new issue