[Pkg-owncloud-commits] [owncloud-client] 56/159: Updater: Give context as to which app is about to be updated
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri May 1 13:05:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit f2fa812b0b0e9374d25f6d242075afb84b2c8ec2
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Mon Mar 30 14:38:19 2015 +0200
Updater: Give context as to which app is about to be updated
Fixes #3040
---
src/gui/updater/ocupdater.cpp | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/gui/updater/ocupdater.cpp b/src/gui/updater/ocupdater.cpp
index 0d4ee29..04c2ef5 100644
--- a/src/gui/updater/ocupdater.cpp
+++ b/src/gui/updater/ocupdater.cpp
@@ -52,9 +52,10 @@ bool OCUpdater::performUpdate()
QSettings settings(cfg.configFile(), QSettings::IniFormat);
QString updateFile = settings.value(updateAvailableC).toString();
if (!updateFile.isEmpty() && QFile(updateFile).exists()) {
- if (QMessageBox::information(0, tr("New Update Ready"),
- tr("A new update is about to be installed. The updater may ask\n"
- "for additional privileges during the process."), QMessageBox::Ok)) {
+ const QString name = Theme::instance()->appNameGUI();
+ if (QMessageBox::information(0, tr("New %1 Update Ready").arg(name),
+ tr("A new update for %1 is about to be installed. The updater may ask\n"
+ "for additional privileges during the process.").arg(name), QMessageBox::Ok)) {
slotStartInstaller();
return true;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list