From 1c1e700916e0ec011eadd2568a81d5cb7e43ba36 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 25 Nov 2015 15:33:17 +0100 Subject: [PATCH] Utils: Fix compile for Qt5.4 + gcc 4.7.3 Change-Id: I3490e9fab2cd7c6f0a4e88dcc97d7894ee4a14b1 Reviewed-by: Alessandro Portale --- src/libs/utils/icon.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libs/utils/icon.cpp b/src/libs/utils/icon.cpp index a4550d69f51..402341a3202 100644 --- a/src/libs/utils/icon.cpp +++ b/src/libs/utils/icon.cpp @@ -213,8 +213,7 @@ QString Icon::imageFileName() const Icon& Icon::operator=(const Icon &other) { - clear(); - append(other); + QVector::operator =(other); m_style = other.m_style; return *this; }