diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2016-02-01 15:12:10 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2016-02-03 13:36:21 +0000 |
commit | c31af6315f328828f3d47bd4128907c0dac198de (patch) | |
tree | 9facbe6dca15ddf63ea0d36117391832206c6543 /src/plugins/autotest/autotestplugin.cpp | |
parent | 537a5c00675fe67828f7737692e1783800b53349 (diff) |
AutoTest: Provide setting to outvote automatically disabling parser
Test parser is normally disabled as long neither test tree nor results
pane is opened. The new setting allows the user to enable the parser
without the need to have one of these widgets opened.
Task-number: QTCREATORBUG-15669
Change-Id: I354e1a3cb91eeca2302f2344fd443c81c4b15406
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'src/plugins/autotest/autotestplugin.cpp')
-rw-r--r-- | src/plugins/autotest/autotestplugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/autotest/autotestplugin.cpp b/src/plugins/autotest/autotestplugin.cpp index a477271c626..ae22155789c 100644 --- a/src/plugins/autotest/autotestplugin.cpp +++ b/src/plugins/autotest/autotestplugin.cpp @@ -135,6 +135,9 @@ bool AutotestPlugin::initialize(const QStringList &arguments, QString *errorStri addAutoReleasedObject(new TestNavigationWidgetFactory); addAutoReleasedObject(TestResultsPane::instance()); + if (m_settings->alwaysParse) + TestTreeModel::instance()->enableParsingFromSettings(); + return true; } |