Mercurial > trustbridge
changeset 402:bae8d4a20ef1
Added strings for add and remove in table view combobox.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 16 Apr 2014 11:03:53 +0200 |
parents | e11409381e16 |
children | 7a15a3066f7b |
files | ui/certificatetabledelegate.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/certificatetabledelegate.cpp Wed Apr 16 11:03:18 2014 +0200 +++ b/ui/certificatetabledelegate.cpp Wed Apr 16 11:03:53 2014 +0200 @@ -41,10 +41,10 @@ bool editable = index.data(Qt::UserRole).toBool(); // Create a combobox and add two items for install/remove. QComboBox *comboBox = new QComboBox(parent); - comboBox->addItem(QIcon(":/img/list-add.png"), QString(""), QVariant("true")); + comboBox->addItem(QIcon(":/img/list-add.png"), tr("add"), QVariant("true")); if (editable) { comboBox->addItem(QIcon(":/img/list-remove.png"), - QString(""), QVariant("false")); + tr("remove"), QVariant("false")); } return comboBox; }