fix: play button not responding + debug logging to log file

- chatview: QListView::mousePressEvent(event) instead of event->accept()
  (Qt needs base class press to set pressedIndex for editorEvent to fire)
- messagedelegate: GUI_DEBUG replaces qDebug (writes to log file)
- voiceplayback: DEBUG_DEBUG/DEBUG_WARN + debug_config.h include
- voicemessageencoder: same debug migration
- inputbar: GUI_INFO replaces qDebug
- messagelist: DEBUG_DEBUG/DEBUG_WARN replaces qDebug/qWarning
This commit is contained in:
Evgeny committed 2026-07-27 00:30:09 +03:00
1 parent 01012675d0
commit 2687c3ed82
6 files changed
+32 -27

No files matched your search

+2 -2
View File
@@ -67,8 +67,8 @@ bool MessageDelegate::editorEvent(QEvent *event, QAbstractItemModel *model,
if (!L.voicePlayBtnRect.contains(localPos)) return false;
QString filePath = index.data(MsgVoiceFileRole).toString();
qDebug("MessageDelegate::editorEvent voice click: filePath=%s exists=%d",
qPrintable(filePath), QFile::exists(filePath));
GUI_DEBUG("editorEvent voice click: filePath=%s exists=%d",
qPrintable(filePath), QFile::exists(filePath));
if (filePath.isEmpty()) return false;
ensureVoiceTimer();