Fix unused variables

In almost all cases these can be removed. The only exception is in
ShaderViewer.cpp, where regIdx should have been used.
This commit is contained in:
Cory Bloor
2017-11-12 16:16:16 -07:00
committed by Baldur Karlsson
parent b227229d9f
commit 58b628ee8b
9 changed files with 2 additions and 16 deletions
@@ -835,7 +835,6 @@ void RDHeaderView::paintSection(QPainter *painter, const QRect &rect, int sectio
else
opt.state &= ~(QStyle::State_Active | QStyle::State_HasFocus);
QVariant textAlignment = m->headerData(section, orientation(), Qt::TextAlignmentRole);
opt.rect = rect;
opt.section = section;
opt.textAlignment = defaultAlignment();