Commit 7ac70075 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt: fix changing audio device

Change the audio device when the corresponding action is triggered, not
when it is modified... This completely broke ALSA playback.
parent 1d92fdf3
......@@ -1556,7 +1556,7 @@ void VLCMenuBar::updateAudioDevice( intf_thread_t * p_intf, audio_output_t *p_ao
action->setChecked( true );
actionGroup->addAction( action );
current->addAction( action );
CONNECT(action, changed(), THEMIM->menusAudioMapper, map());
CONNECT(action, triggered(), THEMIM->menusAudioMapper, map());
THEMIM->menusAudioMapper->setMapping(action, ids[i]);
free( ids[i] );
free( names[i] );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment