changeset 710:86c9ff4cfb02

(Issue30) Actually set the text as data also for removal
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 02 Jul 2014 14:26:29 +0200
parents 8f110e6b8295
children acbe75423283
files ui/certificateitemwidget.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ui/certificateitemwidget.cpp	Wed Jul 02 13:09:09 2014 +0200
+++ b/ui/certificateitemwidget.cpp	Wed Jul 02 14:26:29 2014 +0200
@@ -69,8 +69,8 @@
         layout->addWidget(imgLabel);
     }
     else {
-        mComboBox->addItem(QIcon(":/img/trash-empty.png"), tr("uninstall"), QVariant("true"));
-        mComboBox->addItem(QIcon(":/img/security-medium.png"), tr("keep"), QVariant("false"));
+        mComboBox->addItem(QIcon(":/img/trash-empty.png"), QString(), tr("uninstall"));
+        mComboBox->addItem(QIcon(":/img/security-medium.png"), QString(), tr("keep"));
         if (mState)
             mComboBox->setCurrentIndex(0);
         else {

http://wald.intevation.org/projects/trustbridge/