2021-10-05 Fred Gleason <fredg@paravelsystems.com>

* Added item icons to the 'Default Cart Type' dropdown in the
	'Edit Group' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-10-05 13:53:10 -04:00
parent 1d485f3ae3
commit 55f4f1db17
2 changed files with 7 additions and 0 deletions

View File

@ -22501,3 +22501,6 @@
* Fixed a bug in the 'Rename Group' dialog in rdadmin(1) that
caused the group being renamed to be deleted when simply attempting
to change the case of its name.
2021-10-05 Fred Gleason <fredg@paravelsystems.com>
* Added item icons to the 'Default Cart Type' dropdown in the
'Edit Group' dialog in rdadmin(1).

View File

@ -93,7 +93,11 @@ EditGroup::EditGroup(QString group,QWidget *parent)
//
group_carttype_box=new QComboBox(this);
group_carttype_box->insertItem(0,tr("Audio"));
group_carttype_box->
setItemIcon(0,rda->iconEngine()->typeIcon(RDLogLine::Cart));
group_carttype_box->insertItem(1,tr("Macro"));
group_carttype_box->
setItemIcon(1,rda->iconEngine()->typeIcon(RDLogLine::Macro));
group_carttype_label=new QLabel(tr("Default Cart Type:"),this);
group_carttype_label->setFont(labelFont());
group_carttype_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);