diff ui/administratorwindow.cpp @ 1199:bd2cb6bdb1c5

(admin) Fixed translations and added whitespace between pushbutton icon and text.
author Emanuel Schuetze <emanuel@intevation.de>
date Tue, 23 Sep 2014 09:15:44 +0200
parents 0b7bb4f68f5a
children f1f4059ec320
line wrap: on
line diff
--- a/ui/administratorwindow.cpp	Mon Sep 22 19:06:24 2014 +0200
+++ b/ui/administratorwindow.cpp	Tue Sep 23 09:15:44 2014 +0200
@@ -119,13 +119,13 @@
 
     // The buttons.
     bottomLayout->setAlignment(Qt::AlignBottom);
-    saveButton = new QPushButton(QIcon(":/img/document-save.png"), tr("Save list"));
+    saveButton = new QPushButton(QIcon(":/img/document-save.png"), " " + tr("Save list"));
     connect(saveButton, SIGNAL(clicked()), this, SLOT(saveCertificateFile()));
-    loadButton = new QPushButton(QIcon(":/img/document-open.png"), tr("Load list"));
+    loadButton = new QPushButton(QIcon(":/img/document-open.png"), " " + tr("Load list"));
     connect(loadButton, SIGNAL(clicked()), this, SLOT(loadCertificateFile()));
-    addButton = new QPushButton(QIcon(":/img/document-new.png"), tr("Add certificate"));
+    addButton = new QPushButton(QIcon(":/img/document-new.png"), " " + tr("Add certificate"));
     connect(addButton, SIGNAL(clicked()), this, SLOT(addCertificates()));
-    removeButton = new QPushButton(QIcon(":/img/document-close.png"), tr("Remove certificate"));
+    removeButton = new QPushButton(QIcon(":/img/document-close.png"), " " + tr("Remove certificate"));
     removeButton->setEnabled(false);
     connect(removeButton, SIGNAL(clicked()), this, SLOT(removeCertificates()));
     bottomLayout->addWidget(saveButton);

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