From 829e5070ef3302a3e962a17e057a2ea1b9b49816 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 26 Mar 2012 00:01:40 +0200 Subject: [PATCH] Add missing 'virtual' to preferredColumnWidth() --- src/kitemviews/kfileitemlistview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h index 1e372881a3..43cb9e8db1 100644 --- a/src/kitemviews/kfileitemlistview.h +++ b/src/kitemviews/kfileitemlistview.h @@ -78,7 +78,7 @@ public: virtual QSizeF itemSizeHint(int index) const; /** @reimp */ - qreal preferredColumnWidth(int index, const QByteArray& role) const; + virtual qreal preferredColumnWidth(int index, const QByteArray& role) const; /** @reimp */ virtual QPixmap createDragPixmap(const QSet& indexes) const;