Skip to content

Commit

Permalink
chore: update changelog(5.9.48)
Browse files Browse the repository at this point in the history
Description: update changelog(5.9.48),取消部分日志打印

Log: update changelog(5.9.48)
  • Loading branch information
hundundadi committed Jan 10, 2024
1 parent 15b9e75 commit 9dbe5c8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
deepin-terminal (5.9.48) unstable; urgency=medium

* fix: Changes the default value of the debug mode configuration file.
* fix: Crash when show/close setting dialog.
(#325) (Bug: 28636)
* feat: Debug mode log adaptation

-- wangcong <wangcong@uniontech.com> Tue, 9 Jan 2024 21:18:00 +0800

deepin-terminal (5.9.47) unstable; urgency=medium

* fix: Fixed the issue of high CPU usage due to cursor flickering.
Expand Down
8 changes: 4 additions & 4 deletions src/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ int main(int argc, char *argv[])

// 系统日志
#if (DTK_VERSION >= DTK_VERSION_CHECK(5,6,8,0))
qCDebug(mainprocess) << "current libdtkcore5 > 5.6.8.0";
//qCDebug(mainprocess) << "current libdtkcore5 > 5.6.8.0";
DLogManager::registerJournalAppender();
qCInfo(mainprocess) << "Current log register journal!";
//qCInfo(mainprocess) << "Current log register journal!";
#ifdef QT_DEBUG
DLogManager::registerConsoleAppender();
qCInfo(mainprocess) << "Current log register console!";
//qCInfo(mainprocess) << "Current log register console!";
#endif
#else
qCDebug(mainprocess) << "current libdtkcore5 < 5.6.8.0";
Expand All @@ -62,7 +62,7 @@ int main(int argc, char *argv[])
#endif

#ifdef DTKCORE_CLASS_DConfigFile
qCInfo(mainprocess) << "DConfig is supported by DTK";
//qCInfo(mainprocess) << "DConfig is supported by DTK";
//日志规则
LoggerRules logRules;
logRules.initLoggerRules();
Expand Down
2 changes: 1 addition & 1 deletion src/main/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ void MainWindow::showPlugin(const QString &name)

if ((name == m_CurrentShowPlugin) && (PLUGIN_TYPE_NONE == m_CurrentShowPlugin)) {
// 目前没有列表显示,直接返回
qCInfo(mainprocess) << "no plugin show!";
//qCInfo(mainprocess) << "no plugin show!";
return;
}

Expand Down

0 comments on commit 9dbe5c8

Please sign in to comment.