comparison ui/certificateitemwidget.cpp @ 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 31c3d2bc9880
children a467204a35f5
comparison
equal deleted inserted replaced
709:8f110e6b8295 710:86c9ff4cfb02
67 imgLabel->setFixedSize(28, 28); 67 imgLabel->setFixedSize(28, 28);
68 imgLabel->setMargin(2); 68 imgLabel->setMargin(2);
69 layout->addWidget(imgLabel); 69 layout->addWidget(imgLabel);
70 } 70 }
71 else { 71 else {
72 mComboBox->addItem(QIcon(":/img/trash-empty.png"), tr("uninstall"), QVariant("true")); 72 mComboBox->addItem(QIcon(":/img/trash-empty.png"), QString(), tr("uninstall"));
73 mComboBox->addItem(QIcon(":/img/security-medium.png"), tr("keep"), QVariant("false")); 73 mComboBox->addItem(QIcon(":/img/security-medium.png"), QString(), tr("keep"));
74 if (mState) 74 if (mState)
75 mComboBox->setCurrentIndex(0); 75 mComboBox->setCurrentIndex(0);
76 else { 76 else {
77 mComboBox->setCurrentIndex(1); 77 mComboBox->setCurrentIndex(1);
78 } 78 }

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