+ fix compiler warning

This commit is contained in:
Artem Pavlenko 2010-01-08 15:44:34 +00:00
parent 7093074706
commit 4b93e0f58d

View file

@ -27,7 +27,7 @@ LayerDelegate::LayerDelegate(QObject *parent)
}
void LayerDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) const
const QModelIndex &/*index*/) const
{
painter->setRenderHint(QPainter::Antialiasing);
painter->setPen(QPen(QColor(255,0,0),1));