Commit 85316077 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: provide a tooltip for icon-only button

This is better for accessibility, I think
parent 62f327db
...@@ -92,6 +92,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf) ...@@ -92,6 +92,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
"(keyword 'all' to applies to all objects)"); "(keyword 'all' to applies to all objects)");
updateButton = new QPushButton( QIcon(":/update"), "" ); updateButton = new QPushButton( QIcon(":/update"), "" );
updateButton->setToolTip( qtr("Update the tree") );
ui.mainTab->setCornerWidget( updateButton ); ui.mainTab->setCornerWidget( updateButton );
updateButton->setVisible( false ); updateButton->setVisible( false );
updateButton->setFlat( true ); updateButton->setFlat( true );
......
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