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 f115c5b6a..bb7acf61b 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -350,14 +350,8 @@ void GMainWindow::closeEvent(QCloseEvent* event) | |||
| 350 | 350 | ||
| 351 | int main(int argc, char* argv[]) | 351 | int main(int argc, char* argv[]) |
| 352 | { | 352 | { |
| 353 | std::shared_ptr<Log::Logger> logger = Log::InitGlobalLogger(); | ||
| 354 | Log::Filter log_filter(Log::Level::Info); | 353 | Log::Filter log_filter(Log::Level::Info); |
| 355 | Log::SetFilter(&log_filter); | 354 | Log::SetFilter(&log_filter); |
| 356 | std::thread logging_thread(Log::TextLoggingLoop, logger); | ||
| 357 | SCOPE_EXIT({ | ||
| 358 | logger->Close(); | ||
| 359 | logging_thread.join(); | ||
| 360 | }); | ||
| 361 | 355 | ||
| 362 | QApplication::setAttribute(Qt::AA_X11InitThreads); | 356 | QApplication::setAttribute(Qt::AA_X11InitThreads); |
| 363 | QApplication app(argc, argv); | 357 | QApplication app(argc, argv); |