mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
cleanup
This commit is contained in:
parent
ba24da3184
commit
26718f7147
|
@ -198,8 +198,7 @@ void ChatLine::layout(qreal w, QPointF scenePos)
|
|||
// vertical alignment may depend on width, so we do it in a second pass
|
||||
qreal yOffset = 0.0;
|
||||
|
||||
//if(content[i]->firstLineVOffset() > 0.0)
|
||||
yOffset = maxVOffset - content[i]->firstLineVOffset();
|
||||
yOffset = maxVOffset - content[i]->firstLineVOffset();
|
||||
|
||||
// reposition
|
||||
content[i]->setPos(content[i]->pos().x(), content[i]->pos().y() + yOffset);
|
||||
|
|
|
@ -191,7 +191,6 @@ void FileTransferWidget::hideWidgets()
|
|||
{
|
||||
ui->topButton->hide();
|
||||
ui->bottomButton->hide();
|
||||
//ui->buttonWidget->hide();
|
||||
ui->progressBar->hide();
|
||||
ui->progressLabel->hide();
|
||||
ui->etaLabel->hide();
|
||||
|
|
Loading…
Reference in New Issue
Block a user