Commit fa28f1cb authored by Robert Loehning's avatar Robert Loehning
Browse files

Disable run buttons until tests are found



Change-Id: I418b63dbdd4a641fa02a61b792ec6dbfafe39749
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent d3f1d9a3
......@@ -100,11 +100,13 @@ void TestResultsPane::createToolButtons()
m_runAll = new QToolButton(m_treeView);
m_runAll->setIcon(QIcon(QLatin1String(":/images/run.png")));
m_runAll->setToolTip(tr("Run All Tests"));
m_runAll->setEnabled(false);
connect(m_runAll, &QToolButton::clicked, this, &TestResultsPane::onRunAllTriggered);
m_runSelected = new QToolButton(m_treeView);
m_runSelected->setIcon(QIcon(QLatin1String(":/images/runselected.png")));
m_runSelected->setToolTip(tr("Run Selected Tests"));
m_runSelected->setEnabled(false);
connect(m_runSelected, &QToolButton::clicked, this, &TestResultsPane::onRunSelectedTriggered);
m_stopTestRun = new QToolButton(m_treeView);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment