diff --git a/src/plugins/TabManager/tabfilterdelegate.cpp b/src/plugins/TabManager/tabfilterdelegate.cpp index c080b0d5f..816a6f56b 100644 --- a/src/plugins/TabManager/tabfilterdelegate.cpp +++ b/src/plugins/TabManager/tabfilterdelegate.cpp @@ -24,7 +24,6 @@ TabFilterDelegate::TabFilterDelegate(QObject* parent) : QStyledItemDelegate(parent) - , m_padding(0) { } diff --git a/src/plugins/TabManager/tabfilterdelegate.h b/src/plugins/TabManager/tabfilterdelegate.h index cf52f3a0a..449a295a3 100644 --- a/src/plugins/TabManager/tabfilterdelegate.h +++ b/src/plugins/TabManager/tabfilterdelegate.h @@ -31,7 +31,7 @@ private: void viewItemDrawText(QPainter *p, const QStyleOptionViewItem *option, const QRect &rect, const QString &text, const QColor &color, const QString &searchText = QString()) const; - mutable int m_padding; + QString m_filterText; };