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; }