Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 1236:33a17569812a
(issue111) Remove unecessary update tips
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 24 Sep 2014 16:56:48 +0200 |
parents | ad4fc3649ffb |
children | 8748223990eb |
comparison
equal
deleted
inserted
replaced
1235:7e63b344ac06 | 1236:33a17569812a |
---|---|
1134 /* Show a different tip in case of manual changes, updates aviailable, updates and manual | 1134 /* Show a different tip in case of manual changes, updates aviailable, updates and manual |
1135 * changes available */ | 1135 * changes available */ |
1136 if (changeCount() && !mUpdatesManual->certificates().size()) { | 1136 if (changeCount() && !mUpdatesManual->certificates().size()) { |
1137 mUpdatesTip->setText( | 1137 mUpdatesTip->setText( |
1138 tr("You should apply the following, recommended changes to your certificate stores:")); | 1138 tr("You should apply the following, recommended changes to your certificate stores:")); |
1139 } else if (changeCount()) { | |
1140 mUpdatesTip->setText( | |
1141 tr("You can apply the following, changes to your certificate stores:")); | |
1142 } else { | 1139 } else { |
1143 mUpdatesTip->setText( | 1140 mUpdatesTip->setText(""); |
1144 tr("There are currently no changes for your certificate stores.")); | |
1145 } | 1141 } |
1146 | 1142 |
1147 if (!changeCount()) { | 1143 if (!changeCount()) { |
1148 /* No changes */ | 1144 /* No changes */ |
1149 mQuitButton->setText(" " + tr("Quit")); | 1145 mQuitButton->setText(" " + tr("Quit")); |