diff options
author | Christoph VogtlÃĪnder <c.vogtlaender@sigma-surface-science.com> | 2015-03-10 15:08:10 +0100 |
---|---|---|
committer | Niels Weber <niels.weber@theqtcompany.com> | 2015-07-17 09:40:58 +0000 |
commit | ca59912053e6a1ed6b96c5d11bb6d4531973544f (patch) | |
tree | f1976093af39eef6f6529f47e18effa568b8b179 /src/sdk | |
parent | 5a635073b45da1a3e82d27d1b29f099966ace81c (diff) |
add silent mode
Add possibility to run silently without a gui. Silent mode can be
enabled in a controller script using gui.setSilent(true).
Change-Id: I5c5d0cc2be734e8e447edfe4e71106fe08f87188
Task-number: QTIFW-166
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'src/sdk')
-rw-r--r-- | src/sdk/tabcontroller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdk/tabcontroller.cpp b/src/sdk/tabcontroller.cpp index 394f953fa..1cdc87fc2 100644 --- a/src/sdk/tabcontroller.cpp +++ b/src/sdk/tabcontroller.cpp @@ -139,7 +139,7 @@ int TabController::init() } d->m_gui->restart(); - d->m_gui->show(); + d->m_gui->setVisible(!d->m_gui->isSilent()); onCurrentIdChanged(d->m_gui->currentId()); return PackageManagerCore::Success; |