mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 23:25:15 +00:00
Add OpenGL init crash checker.
This commit is contained in:
@@ -18,6 +18,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "core/sandbox.h"
|
||||
#include "base/concurrent_timer.h"
|
||||
|
||||
//#include <QtCore/QLoggingCategory>
|
||||
|
||||
namespace Core {
|
||||
namespace {
|
||||
|
||||
@@ -525,6 +527,7 @@ void Launcher::processArguments() {
|
||||
int Launcher::executeApplication() {
|
||||
FilteredCommandLineArguments arguments(_argc, _argv);
|
||||
Sandbox sandbox(this, arguments.count(), arguments.values());
|
||||
//QLoggingCategory::setFilterRules("qt.qpa.gl.debug=true");
|
||||
Ui::MainQueueProcessor processor;
|
||||
base::ConcurrentTimerEnvironment environment;
|
||||
return sandbox.start();
|
||||
|
Reference in New Issue
Block a user