diff options
Diffstat (limited to 'src/citra_qt/main.cpp')
| -rw-r--r-- | src/citra_qt/main.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 7b028e323..24506deab 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -352,14 +352,8 @@ void GMainWindow::closeEvent(QCloseEvent* event) | |||
| 352 | 352 | ||
| 353 | int main(int argc, char* argv[]) | 353 | int main(int argc, char* argv[]) |
| 354 | { | 354 | { |
| 355 | std::shared_ptr<Log::Logger> logger = Log::InitGlobalLogger(); | ||
| 356 | Log::Filter log_filter(Log::Level::Info); | 355 | Log::Filter log_filter(Log::Level::Info); |
| 357 | Log::SetFilter(&log_filter); | 356 | Log::SetFilter(&log_filter); |
| 358 | std::thread logging_thread(Log::TextLoggingLoop, logger); | ||
| 359 | SCOPE_EXIT({ | ||
| 360 | logger->Close(); | ||
| 361 | logging_thread.join(); | ||
| 362 | }); | ||
| 363 | 357 | ||
| 364 | QApplication::setAttribute(Qt::AA_X11InitThreads); | 358 | QApplication::setAttribute(Qt::AA_X11InitThreads); |
| 365 | QApplication app(argc, argv); | 359 | QApplication app(argc, argv); |