X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fcomponents%2Fextended_panels.cpp;h=3560d7a8545bd86e3fe5b05e9cf3feba05af3a7f;hb=b5077c0ef45f56e5b4126f78b71aadecf8f2857f;hp=ca7d471a5e5615b2404d4f9a8f18b3ed2524c544;hpb=c6adecf5346037600a5f332f2c14d56b43abb354;p=vlc diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp index ca7d471a5e..3560d7a854 100644 --- a/modules/gui/qt4/components/extended_panels.cpp +++ b/modules/gui/qt4/components/extended_panels.cpp @@ -1332,8 +1332,6 @@ SyncControls::SyncControls( intf_thread_t *_p_intf, QWidget *_parent ) : updateButton = new QToolButton; updateButton->setAutoRaise( true ); - updateButton->setText( "u" ); - updateButton->setToolTip( qtr( "Force update of this dialog's values" ) ); mainLayout->addWidget( updateButton, 0, 4, 1, 1 ); @@ -1348,7 +1346,8 @@ SyncControls::SyncControls( intf_thread_t *_p_intf, QWidget *_parent ) : CONNECT( subsSpin, valueChanged ( double ), this, advanceSubs( double ) ) ; CONNECT( subSpeedSpin, valueChanged ( double ), this, adjustSubsSpeed( double ) ); - BUTTONACT( updateButton, update() ); + BUTTON_SET_ACT_I( updateButton, "", update, + qtr( "Force update of this dialog's values" ), update() ); /* Set it */ update();