added pdb generation, fixed unintended back call
This commit is contained in:
parent
4f900ad425
commit
01d2611d65
4 changed files with 5 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
QMAKE_CXXFLAGS += --target=x86_64-w64-mingw32
|
||||
QMAKE_LINKER += clang++
|
||||
QMAKE_LFLAGS += -v
|
||||
QMAKE_CXXFLAGS += --target=x86_64-w64-mingw32 -g -gcodeview
|
||||
#QMAKE_LINK += clang++
|
||||
QMAKE_LFLAGS += --target=x86_64-w64-mingw32 -g -gcodeview -Wl,-pdb= -v
|
||||
DEFINES += DEBUG
|
||||
CONFIG += debug console
|
||||
QT += widgets
|
||||
|
|
|
|||
|
|
@ -127,12 +127,10 @@ void OverseerHandler::updateMainVolumeCallback(uint64_t idx, float newVal){
|
|||
|
||||
void OverseerHandler::updateChannelVolumeCallback(uint64_t idx, uint32_t channel, float newVal){
|
||||
//int translatedNewVal = newVal * 100;
|
||||
|
||||
|
||||
|
||||
log_debugcpp("chanel: " << channel << " volcallback float: " << newVal);
|
||||
epwChannelVolumeFunc f = &EndpointWidget::updateChannelVolume;
|
||||
std::invoke(f, endpointWidgets.at(idx), channel, newVal);
|
||||
|
||||
|
||||
//TODO: Soy retrasado
|
||||
//endpointWidgets.at(idx)->updateChannelVolume(channel, newVal);
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ void EndpointWidget::updateMute(bool muted){
|
|||
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.
|
||||
//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->setText(this->eph->getMute() ? STRING_UNMUTE : STRING_MUTE);
|
||||
//this->muteButton->blockSignals(false);
|
||||
|
|
|
|||
|
|
@ -96,7 +96,6 @@ typedef void (EndpointWidget::*epwMainVolumeFunc)(float newValue);
|
|||
typedef void (EndpointWidget::*epwChannelVolumeFunc)(uint32_t channel, float newValue);
|
||||
typedef void (EndpointWidget::*epwToggleFrontFunc)(bool active);
|
||||
|
||||
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
//QWidget *centralWidget;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue