added one missing pixel to the frame, to cope with changes in partWidget painting

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136102
This commit is contained in:
Hugo Pereira Da Costa 2010-06-08 23:07:58 +00:00
parent d42914443d
commit 346117868d
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ void PartResizerWidget::paintEvent(QPaintEvent*)
// disable mouse over and focus state
opt.state &= ~QStyle::State_MouseOver;
opt.state &= ~QStyle::State_HasFocus;
opt.rect.adjust(handleWidth(), 0, -handleWidth() - 1, -1);
opt.rect.adjust(handleWidth(), 0, -handleWidth() - 1, 0);
style()->drawControl(QStyle::CE_ShapedFrame, &opt, &painter, this);
}