Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 802:2db9ab3f6b1b
String unified.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Tue, 15 Jul 2014 15:48:21 +0200 |
parents | c61acf2a22dc |
children | e04c57e9bf2e |
comparison
equal
deleted
inserted
replaced
801:4538cda1062c | 802:2db9ab3f6b1b |
---|---|
535 mLastUpdateCheck = new QLabel(tr("Last successful update check:")); | 535 mLastUpdateCheck = new QLabel(tr("Last successful update check:")); |
536 mLastUpdateCheckContents = new QLabel(tr("No connection with the updateserver.")); | 536 mLastUpdateCheckContents = new QLabel(tr("No connection with the updateserver.")); |
537 } | 537 } |
538 QPushButton *searchUpdates = new QPushButton(); | 538 QPushButton *searchUpdates = new QPushButton(); |
539 searchUpdates->setStyleSheet("QPushButton {border-style: outset; border-width: 0px;}"); | 539 searchUpdates->setStyleSheet("QPushButton {border-style: outset; border-width: 0px;}"); |
540 searchUpdates->setToolTip(tr("Check for updates")); | 540 searchUpdates->setToolTip(tr("Check for Updates")); |
541 searchUpdates->setIcon(QIcon(":/img/update-list.png")); | 541 searchUpdates->setIcon(QIcon(":/img/update-list.png")); |
542 connect(searchUpdates, SIGNAL(clicked()), this, SLOT(checkUpdates())); | 542 connect(searchUpdates, SIGNAL(clicked()), this, SLOT(checkUpdates())); |
543 updateDateAndSearchButton->addWidget(mLastUpdateCheckContents); | 543 updateDateAndSearchButton->addWidget(mLastUpdateCheckContents); |
544 updateDateAndSearchButton->addWidget(searchUpdates); | 544 updateDateAndSearchButton->addWidget(searchUpdates); |
545 | 545 |