diff ui/mainwindow.cpp @ 842:bd33c6585cd0

UI improvements (issue18, 60)
author Emanuel Schuetze <emanuel@intevation.de>
date Wed, 30 Jul 2014 09:58:20 +0200
parents 216a65d7fc4b
children fa68e5aeeaac
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Tue Jul 29 18:12:57 2014 +0200
+++ b/ui/mainwindow.cpp	Wed Jul 30 09:58:20 2014 +0200
@@ -532,8 +532,8 @@
         mLastUpdateCheck = new QLabel(tr("Last successful update check:"));
         mLastUpdateCheckContents = new QLabel(tr("No connection with the updateserver."));
     }
-    QPushButton *searchUpdates = new QPushButton();
-    searchUpdates->setStyleSheet("QPushButton {border-style: outset; border-width: 0px;}");
+    QPushButton *searchUpdates = new QPushButton(" " + tr("Update"));
+    searchUpdates->setFixedHeight(22);
     searchUpdates->setToolTip(tr("Check for Updates"));
     searchUpdates->setIcon(QIcon(":/img/update-list.png"));
     connect(searchUpdates, SIGNAL(clicked()), this, SLOT(checkUpdates()));

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