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:
1 parent
01012675d0
commit
2687c3ed82
6 files changed
+32
-27
No files matched your search
@@ -92,7 +92,7 @@ void ChatView::mousePressEvent(QMouseEvent *event) {
|
||||
QModelIndex idx = indexAt(viewport()->mapFrom(this, event->pos()));
|
||||
m_pressIndex = QPersistentModelIndex(idx);
|
||||
m_pressPos = event->pos();
|
||||
event->accept();
|
||||
QListView::mousePressEvent(event);
|
||||
}
|
||||
|
||||
void ChatView::mouseMoveEvent(QMouseEvent *event) {
|
||||
|
||||
Reference in new issue
Block a user