[PATCH] (issue54) Launch depending on visibility either as tray or full after installation
Wald Commits
scm-commit at wald.intevation.org
Wed Sep 10 15:56:28 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1410357384 -7200
# Node ID 51b97ebc5b06a08257096c4d5e139bb293848344
# Parent febd195c0301ffbf69fc746b67b000a28f88d2bc
(issue54) Launch depending on visibility either as tray or full after installation
diff -r febd195c0301 -r 51b97ebc5b06 ui/mainwindow.cpp
--- a/ui/mainwindow.cpp Wed Sep 10 15:54:51 2014 +0200
+++ b/ui/mainwindow.cpp Wed Sep 10 15:56:24 2014 +0200
@@ -335,6 +335,10 @@
QStringList parameters;
installDir.cdUp();
parameters << "--prefix" << installDir.path();
+ parameters << "--update";
+ if (isVisible()) {
+ parameters << "--show-after-update";
+ }
bool sudo_started = false;
bool use_sudo = is_admin() && is_system_install();
if (use_sudo) {
More information about the Trustbridge-commits
mailing list