[PATCH] (UI) Added space in QPushButton on about page

Wald Commits scm-commit at wald.intevation.org
Mon Sep 1 15:06:07 CEST 2014


# HG changeset patch
# User Emanuel Schuetze <emanuel at intevation.de>
# Date 1409576748 -7200
# Node ID 29783ef4da62201575c86577d0ca44dd9edae51f
# Parent  da6ce90bef17105f76cf07b4684bb2f36c1a4ab9
(UI) Added space in QPushButton on about page.

diff -r da6ce90bef17 -r 29783ef4da62 ui/mainwindow.cpp
--- a/ui/mainwindow.cpp	Mon Sep 01 13:52:05 2014 +0200
+++ b/ui/mainwindow.cpp	Mon Sep 01 15:05:48 2014 +0200
@@ -535,12 +535,12 @@
     infoCenterLayout->insertSpacing(6, 10);
 
     QHBoxLayout *helpButtonLayout = new QHBoxLayout();
-    QPushButton *helpButton = new QPushButton(tr("Show Help"));
+    QPushButton *helpButton = new QPushButton(" " + tr("Show Help"));
     helpButton->setIcon(QIcon(":/img/show-help_16.png"));
     connect(helpButton, SIGNAL(clicked()), this, SLOT(showHelp()));
     helpButtonLayout->addWidget(helpButton);
 #ifdef USE_CURL
-    QPushButton *proxySettingsButton = new QPushButton(tr("Proxy settings"));
+    QPushButton *proxySettingsButton = new QPushButton(" " + tr("Proxy settings"));
     proxySettingsButton->setIcon(QIcon(":/img/preferences-network_16.png"));
     connect(proxySettingsButton, SIGNAL(clicked()), this, SLOT(showProxySettings()));
     helpButtonLayout->addWidget(proxySettingsButton);


More information about the Trustbridge-commits mailing list