Browse Source

- Added icons for label actions in context menu

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
6dd3833e0f
  1. 6
      src/transferlistwidget.cpp

6
src/transferlistwidget.cpp

@ -994,11 +994,11 @@ void TransferListWidget::displayListMenu(const QPoint&) { @@ -994,11 +994,11 @@ void TransferListWidget::displayListMenu(const QPoint&) {
QStringList customLabels = getCustomLabels();
QList<QAction*> labelActions;
QMenu *labelMenu = listMenu.addMenu(QIcon(":/Icons/oxygen/feed-subscribe.png"), "Label");
labelActions << labelMenu->addAction(tr("New..."));
labelActions << labelMenu->addAction(tr("Reset"));
labelActions << labelMenu->addAction(QIcon(":/Icons/oxygen/list-add.png"), tr("New..."));
labelActions << labelMenu->addAction(QIcon(":/Icons/oxygen/edit-clear.png"), tr("Reset"));
labelMenu->addSeparator();
foreach(const QString &label, customLabels) {
labelActions << labelMenu->addAction(label);
labelActions << labelMenu->addAction(QIcon(":/Icons/oxygen/folder.png"), label);
}
listMenu.addSeparator();
if(one_not_seed)

Loading…
Cancel
Save