diff options
author | crupest <crupest@outlook.com> | 2022-02-21 18:44:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-21 18:44:40 +0800 |
commit | ced1a63686e6c64cb574d74a34d1bbd07d0a668e (patch) | |
tree | 4082e4689e5e7cede8d59a0538d0f1ae37064acb /src/osx/gui/UiApplication.mm | |
parent | 6b00fca7c662301bf657a99cb1e89f21541a46bc (diff) | |
download | cru-ced1a63686e6c64cb574d74a34d1bbd07d0a668e.tar.gz cru-ced1a63686e6c64cb574d74a34d1bbd07d0a668e.tar.bz2 cru-ced1a63686e6c64cb574d74a34d1bbd07d0a668e.zip |
...
Diffstat (limited to 'src/osx/gui/UiApplication.mm')
-rw-r--r-- | src/osx/gui/UiApplication.mm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/osx/gui/UiApplication.mm b/src/osx/gui/UiApplication.mm index 20ce82d3..43c49c5c 100644 --- a/src/osx/gui/UiApplication.mm +++ b/src/osx/gui/UiApplication.mm @@ -1,7 +1,7 @@ #include "cru/osx/gui/UiApplication.h" #include "ClipboardPrivate.h" -#include "cru/common/Logger.h" +#include "cru/common/log/Logger.h" #include "cru/common/platform/osx/Convert.h" #include "cru/osx/graphics/quartz/Factory.h" #include "cru/osx/gui/Clipboard.h" @@ -80,9 +80,6 @@ OsxUiApplication::OsxUiApplication() : OsxGuiResource(this), p_(new details::OsxUiApplicationPrivate(this)) { [NSApplication sharedApplication]; - // Add stdio logger. - log::Logger::GetInstance()->AddSource(std::make_unique<log::StdioLogSource>()); - [NSApp setDelegate:p_->app_delegate_]; p_->quartz_graphics_factory_ = std::make_unique<graphics::osx::quartz::QuartzGraphicsFactory>(); p_->cursor_manager_ = std::make_unique<OsxCursorManager>(this); |