mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-11 06:21:30 +02:00
qt/hotkeys: remove unnecessary check
Every core hotkey item can be expected to have a shorttext label.
This commit is contained in:
parent
de622afa67
commit
b576c4d3f8
@ -1304,8 +1304,7 @@ void KeySelectorControl::finish()
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTreeWidgetItem *treeItem = new QTreeWidgetItem();
|
QTreeWidgetItem *treeItem = new QTreeWidgetItem();
|
||||||
treeItem->setText( ACTION_COL, p_config_item->psz_text ?
|
treeItem->setText( ACTION_COL, qfut( p_config_item->psz_text ) );
|
||||||
qfut( p_config_item->psz_text ) : qfu("") );
|
|
||||||
treeItem->setData( ACTION_COL, Qt::UserRole,
|
treeItem->setData( ACTION_COL, Qt::UserRole,
|
||||||
QVariant( qfu( p_config_item->psz_name ) ) );
|
QVariant( qfu( p_config_item->psz_name ) ) );
|
||||||
if (p_config_item->psz_longtext)
|
if (p_config_item->psz_longtext)
|
||||||
|
Loading…
Reference in New Issue
Block a user