forked from qt-creator/qt-creator
Fix compile with Qt5.4
Broke with 495e1a2d24
- appending another QVector
to an existing has been added to Qt5.5.
Change-Id: I277541bfa4cae89d7807ac104f2595f315b97271
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -150,7 +150,8 @@ void TestResultsPane::createToolButtons()
|
|||||||
|
|
||||||
m_runSelected = new QToolButton(m_treeView);
|
m_runSelected = new QToolButton(m_treeView);
|
||||||
Utils::Icon runSelectedIcon = ProjectExplorer::Icons::RUN_SMALL;
|
Utils::Icon runSelectedIcon = ProjectExplorer::Icons::RUN_SMALL;
|
||||||
runSelectedIcon.append(Icons::RUN_SELECTED_OVERLAY);
|
foreach (const Utils::IconMaskAndColor &maskAndColor, Icons::RUN_SELECTED_OVERLAY)
|
||||||
|
runSelectedIcon.append(maskAndColor);
|
||||||
m_runSelected->setIcon(runSelectedIcon.icon());
|
m_runSelected->setIcon(runSelectedIcon.icon());
|
||||||
m_runSelected->setToolTip(tr("Run Selected Tests"));
|
m_runSelected->setToolTip(tr("Run Selected Tests"));
|
||||||
m_runSelected->setEnabled(false);
|
m_runSelected->setEnabled(false);
|
||||||
|
Reference in New Issue
Block a user