diff --git a/src/main/terminalapplication.cpp b/src/main/terminalapplication.cpp index 8ef51d94..9f5382c1 100644 --- a/src/main/terminalapplication.cpp +++ b/src/main/terminalapplication.cpp @@ -64,7 +64,7 @@ void TerminalApplication::handleQuitAction() bool TerminalApplication::notify(QObject *object, QEvent *event) { - //修复bug#110813,参考https://gerrit.uniontech.com/c/dtkwidget/+/94656 + //修复bug#110813 if (event->type() == QEvent::ApplicationFontChange) { // ApplicationFontChange 调用 font() 是 ok 的,如果在 fontChanged 中调用在某些版本中会出现 deadlock DFontSizeManager::instance()->setFontGenericPixelSize(static_cast(DFontSizeManager::fontPixelSize(font())));