From 1bfee1252f99901f92ebc660e21800a98c168ee5 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 3 Dec 2015 13:12:41 +0100 Subject: [PATCH] Fix compile with Qt5.4 Broke with 495e1a2d24040a5472bd484262f8f5810c64b1d1 - appending another QVector to an existing has been added to Qt5.5. Change-Id: I277541bfa4cae89d7807ac104f2595f315b97271 Reviewed-by: Alessandro Portale --- plugins/autotest/testresultspane.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/autotest/testresultspane.cpp b/plugins/autotest/testresultspane.cpp index 253dc6685ec..fa2a534736b 100644 --- a/plugins/autotest/testresultspane.cpp +++ b/plugins/autotest/testresultspane.cpp @@ -150,7 +150,8 @@ void TestResultsPane::createToolButtons() m_runSelected = new QToolButton(m_treeView); 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->setToolTip(tr("Run Selected Tests")); m_runSelected->setEnabled(false);