diff ui/certificatelistwidget.cpp @ 1106:6f7b7d88f048

(issue115) Rework CertificateListWidgets to have a ToolButton instead of a combobox
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 15 Sep 2014 17:43:56 +0200
parents 2b3526ef2d69
children 9bb9932bb819
line wrap: on
line diff
--- a/ui/certificatelistwidget.cpp	Mon Sep 15 17:43:02 2014 +0200
+++ b/ui/certificatelistwidget.cpp	Mon Sep 15 17:43:56 2014 +0200
@@ -25,13 +25,10 @@
 void CertificateListWidget::addCertificate(
     const Certificate &certificate,
     bool state,
-    bool editable,
-    const QString &installLabel,
-    const QString &removeLabel)
+    QToolButton *button)
 {
     CertificateItemWidget *widget =
-        new CertificateItemWidget(this, certificate, state, editable,
-                installLabel, removeLabel);
+        new CertificateItemWidget(this, certificate, state, button);
     connect(widget, SIGNAL(stateChanged(bool, const Certificate&)),
         this, SLOT(certStateChanged(bool, const Certificate&)));
 

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