wip: setenabled crash to fix

This commit is contained in:
Hane 2023-09-01 21:36:07 +02:00
commit 4fc1019409
6 changed files with 111 additions and 17 deletions

View file

@ -62,8 +62,8 @@ class EndpointWidget : public QWidget {
public:
EndpointWidget(uint64_t idx, EndpointHandler* eph, QWidget *parent = nullptr);
//TODO: get();
EndpointHandler* eph;
EndpointHandler* getEndpointHandler();
void setIndex(uint64_t idx);
uint64_t getIndex();
@ -90,6 +90,7 @@ public slots:
void updateMute(int checked);
private:
EndpointHandler* eph;
size_t defaultRolesVectorSize = 4;
QTimer* timer = nullptr;
uint64_t idx;