mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Handle users joining and leaving properly in audio context and gui
Before this change signals when users were joining or leaving the voice room were not properly handled. A new signal in audio context is emitted now and gui will rebuild the user list when it is emitted.
This commit is contained in:
committed by
Klaus Basan
parent
a50e45e451
commit
0760a67138
@@ -51,13 +51,13 @@ namespace BlackGui
|
||||
//! Set the voice room url fields (checkboxes, line edits)
|
||||
void ps_updateAudioVoiceRoomsFromContext(const BlackMisc::Audio::CVoiceRoomList &selectedVoiceRooms, bool connected);
|
||||
|
||||
//! Update voice room views
|
||||
void ps_updateVoiceRoomMembers();
|
||||
|
||||
private:
|
||||
//! Set the URL fields
|
||||
void setVoiceRoomUrlFieldsReadOnlyState();
|
||||
|
||||
//! Update voice room views
|
||||
void updateVoiceRoomMembers();
|
||||
|
||||
QScopedPointer<Ui::CVoiceRoomsComponent> ui;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user