comparison ui/certificateitemwidget.cpp @ 1011:9c4543128666

(issue94) Move install / remove labels into ctor and translate them.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 02 Sep 2014 14:43:48 +0200
parents bd33c6585cd0
children 2b3526ef2d69
comparison
equal deleted inserted replaced
1009:c1f32c87716a 1011:9c4543128666
19 const QString &removeLabel) : 19 const QString &removeLabel) :
20 QWidget(parent), 20 QWidget(parent),
21 mInstallLabel (installLabel), 21 mInstallLabel (installLabel),
22 mRemoveLabel (removeLabel) 22 mRemoveLabel (removeLabel)
23 { 23 {
24 if (mInstallLabel.isEmpty()) {
25 mInstallLabel = tr("Install");
26 }
27 if (mRemoveLabel.isEmpty()) {
28 mRemoveLabel = tr("Remove");
29 }
24 mCertificate = cert; 30 mCertificate = cert;
25 mState = state; 31 mState = state;
26 mEditable = editable; 32 mEditable = editable;
27 setupGUI(); 33 setupGUI();
28 } 34 }

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