diff --git a/src/kitemviews/kitemliststyleoption.h b/src/kitemviews/kitemliststyleoption.h --- a/src/kitemviews/kitemliststyleoption.h +++ b/src/kitemviews/kitemliststyleoption.h @@ -31,7 +31,6 @@ { public: KItemListStyleOption(); - KItemListStyleOption(const KItemListStyleOption& other); virtual ~KItemListStyleOption(); QRect rect; @@ -48,8 +47,6 @@ bool operator==(const KItemListStyleOption& other) const; bool operator!=(const KItemListStyleOption& other) const; - - }; #endif diff --git a/src/kitemviews/kitemliststyleoption.cpp b/src/kitemviews/kitemliststyleoption.cpp --- a/src/kitemviews/kitemliststyleoption.cpp +++ b/src/kitemviews/kitemliststyleoption.cpp @@ -35,21 +35,6 @@ { } -KItemListStyleOption::KItemListStyleOption(const KItemListStyleOption& other) : - rect(other.rect), - font(other.font), - fontMetrics(other.fontMetrics), - palette(other.palette), - padding(other.padding), - horizontalMargin(other.horizontalMargin), - verticalMargin(other.verticalMargin), - iconSize(other.iconSize), - extendedSelectionRegion(other.extendedSelectionRegion), - maxTextLines(other.maxTextLines), - maxTextWidth(other.maxTextWidth) -{ -} - KItemListStyleOption::~KItemListStyleOption() { }