Skip to content

Commit 37aae99

Browse files
chore: comment out debug logs in ProcessMonitor (#122)
* chore: comment out debug logs in ProcessMonitor - Commented out debug log statements in the checkFcitx5Process function to reduce log verbosity during execution. - This change aims to streamline the logging output while maintaining the functionality of the process monitoring. * chore: Update version to 6.0.21 - update version to 6.0.21 log: update version to 6.0.21
1 parent b416962 commit 37aae99

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
deepin-fcitx5configtool-plugin (6.0.21) unstable; urgency=medium
2+
3+
* chore: comment out debug logs in ProcessMonitor
4+
5+
-- dengzhongyuan <dengzhongyuan@uniontech.com> Thu, 20 Nov 2025 20:00:59 +0800
6+
17
deepin-fcitx5configtool-plugin (6.0.20) unstable; urgency=medium
28

39
* fix: Update translation files.

src/fcitx5helper/processmonitor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bool ProcessMonitor::exeCommand(const QString &cmd, const QStringList &args, QSt
4242

4343

4444
void ProcessMonitor::checkFcitx5Process() {
45-
qCDebug(procMon) << "Entering checkFcitx5Process";
45+
// qCDebug(procMon) << "Entering checkFcitx5Process";
4646
// Check if the fcitx5 process is already running
4747
if (!m_previousProcessID.isEmpty() && QFile::exists("/proc/" + m_previousProcessID)) {
4848
QString commandLine;
@@ -55,7 +55,7 @@ void ProcessMonitor::checkFcitx5Process() {
5555
if (!arguments.isEmpty()) {
5656
QString executableName = QFileInfo(arguments.first()).fileName();
5757
if (executableName == "fcitx5" || arguments.first() == "fcitx5") {
58-
qCDebug(procMon) << "fcitx5 is already running with PID:" << m_previousProcessID;
58+
// qCDebug(procMon) << "fcitx5 is already running with PID:" << m_previousProcessID;
5959
return;
6060
}
6161
}

0 commit comments

Comments
 (0)