vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Fri Feb 17 14:05:38 2012 +0100| [c8d0c9ca2c24fa9f2f42a03b152a03fe241241f9] | committer: Francois Cartegnie
Qt: simple_prefs: fix hotkeys change tips > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8d0c9ca2c24fa9f2f42a03b152a03fe241241f9 --- modules/gui/qt4/components/preferences_widgets.cpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp index 88ddda2..694ef2d 100644 --- a/modules/gui/qt4/components/preferences_widgets.cpp +++ b/modules/gui/qt4/components/preferences_widgets.cpp @@ -1315,7 +1315,7 @@ KeySelectorControl::KeySelectorControl( vlc_object_t *_p_this, QGridLayout *gLayout = new QGridLayout( keyContainer ); label = new QLabel( - qtr( "Select an action to change the associated hotkey") ); + qtr( "Select or double click an action to change the associated hotkey") ); QLabel *searchLabel = new QLabel( qtr( "Search" ) ); SearchLineEdit *actionSearch = new SearchLineEdit( keyContainer ); @@ -1385,6 +1385,8 @@ void KeySelectorControl::finish() QString keys = qfu( p_item->value.psz ); treeItem->setText( 1, keys ); + treeItem->setToolTip( 1, qtr("Double click to change") ); + treeItem->setToolTip( 2, qtr("Double click to change") ); treeItem->setData( 1, Qt::UserRole, QVariant( keys ) ); table->addTopLevelItem( treeItem ); continue; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits