added pdb generation, fixed unintended back call

This commit is contained in:
Hane 2023-08-14 18:00:59 +02:00
commit 60aff9891f
4 changed files with 5 additions and 8 deletions

View file

@ -1,6 +1,6 @@
QMAKE_CXXFLAGS += --target=x86_64-w64-mingw32 QMAKE_CXXFLAGS += --target=x86_64-w64-mingw32 -g -gcodeview
QMAKE_LINKER += clang++ #QMAKE_LINK += clang++
QMAKE_LFLAGS += -v QMAKE_LFLAGS += --target=x86_64-w64-mingw32 -g -gcodeview -Wl,-pdb= -v
DEFINES += DEBUG DEFINES += DEBUG
CONFIG += debug console CONFIG += debug console
QT += widgets QT += widgets

View file

@ -127,12 +127,10 @@ void OverseerHandler::updateMainVolumeCallback(uint64_t idx, float newVal){
void OverseerHandler::updateChannelVolumeCallback(uint64_t idx, uint32_t channel, float newVal){ void OverseerHandler::updateChannelVolumeCallback(uint64_t idx, uint32_t channel, float newVal){
//int translatedNewVal = newVal * 100; //int translatedNewVal = newVal * 100;
log_debugcpp("chanel: " << channel << " volcallback float: " << newVal); log_debugcpp("chanel: " << channel << " volcallback float: " << newVal);
epwChannelVolumeFunc f = &EndpointWidget::updateChannelVolume; epwChannelVolumeFunc f = &EndpointWidget::updateChannelVolume;
std::invoke(f, endpointWidgets.at(idx), channel, newVal); std::invoke(f, endpointWidgets.at(idx), channel, newVal);
//TODO: Soy retrasado //TODO: Soy retrasado
//endpointWidgets.at(idx)->updateChannelVolume(channel, newVal); //endpointWidgets.at(idx)->updateChannelVolume(channel, newVal);

View file

@ -75,7 +75,7 @@ void EndpointWidget::updateMute(bool muted){
log_debugcpp("cliqui callboqui cloqui"); log_debugcpp("cliqui callboqui cloqui");
//TODO: Here to diagnose slider visuals locking when playing DJ with external volume bar. Functionality is restored when mute checkbox is clicked. //TODO: Here to diagnose slider visuals locking when playing DJ with external volume bar. Functionality is restored when mute checkbox is clicked.
//this->muteButton->blockSignals(true); //this->muteButton->blockSignals(true);
this->eph->setMute(osh->getGuid(), muted); //this->eph->setMute(osh->getGuid(), muted);
this->muteButton->setChecked(eph->getMute() ? true : false); this->muteButton->setChecked(eph->getMute() ? true : false);
this->muteButton->setText(this->eph->getMute() ? STRING_UNMUTE : STRING_MUTE); this->muteButton->setText(this->eph->getMute() ? STRING_UNMUTE : STRING_MUTE);
//this->muteButton->blockSignals(false); //this->muteButton->blockSignals(false);

View file

@ -96,7 +96,6 @@ typedef void (EndpointWidget::*epwMainVolumeFunc)(float newValue);
typedef void (EndpointWidget::*epwChannelVolumeFunc)(uint32_t channel, float newValue); typedef void (EndpointWidget::*epwChannelVolumeFunc)(uint32_t channel, float newValue);
typedef void (EndpointWidget::*epwToggleFrontFunc)(bool active); typedef void (EndpointWidget::*epwToggleFrontFunc)(bool active);
class MainWindow : public QMainWindow { class MainWindow : public QMainWindow {
Q_OBJECT Q_OBJECT
//QWidget *centralWidget; //QWidget *centralWidget;