+ fix compiler warning
This commit is contained in:
parent
7093074706
commit
4b93e0f58d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ LayerDelegate::LayerDelegate(QObject *parent)
|
||||||
}
|
}
|
||||||
|
|
||||||
void LayerDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
|
void LayerDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
|
||||||
const QModelIndex &index) const
|
const QModelIndex &/*index*/) const
|
||||||
{
|
{
|
||||||
painter->setRenderHint(QPainter::Antialiasing);
|
painter->setRenderHint(QPainter::Antialiasing);
|
||||||
painter->setPen(QPen(QColor(255,0,0),1));
|
painter->setPen(QPen(QColor(255,0,0),1));
|
||||||
|
|
Loading…
Add table
Reference in a new issue