From 7830db71fa0160d7f40ea9b4650003019c2ff50c Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 14 Jan 2024 00:57:23 -0500 Subject: Fixes for channels window and simple visualization. a) Channel status light doesn't blink in release builds. b) Simple visualization shows blank channel info when opened. --- qmidiplayer-desktop/qmpchannelswindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qmidiplayer-desktop/qmpchannelswindow.cpp') diff --git a/qmidiplayer-desktop/qmpchannelswindow.cpp b/qmidiplayer-desktop/qmpchannelswindow.cpp index 7743084..a97d86b 100644 --- a/qmidiplayer-desktop/qmpchannelswindow.cpp +++ b/qmidiplayer-desktop/qmpchannelswindow.cpp @@ -8,7 +8,8 @@ #include "ui_qmpchannelswindow.h" #include "qmpmainwindow.hpp" -qmpChannelsModel::qmpChannelsModel(QObject *parent): QAbstractTableModel(parent) +qmpChannelsModel::qmpChannelsModel(QObject *parent): QAbstractTableModel(parent), + updatequeued(false) { evh = qmpMainWindow::getInstance()->getPlayer()->registerEventHandler( [this](const void *_e, void *) -- cgit v1.2.3