[PATCH] (Issue30) Actually set the text as data also for removal

Wald Commits scm-commit at wald.intevation.org
Wed Jul 2 14:26:32 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1404303989 -7200
# Node ID 86c9ff4cfb024a5e761b7e03f49015b526a1335c
# Parent  8f110e6b829559128ac091ac34ac993d870d13c2
(Issue30) Actually set the text as data also for removal

diff -r 8f110e6b8295 -r 86c9ff4cfb02 ui/certificateitemwidget.cpp
--- 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 {


More information about the Trustbridge-commits mailing list