1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
krepa098 2014-12-10 10:59:10 +01:00
parent ba24da3184
commit 26718f7147
2 changed files with 1 additions and 3 deletions

View File

@ -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);

View File

@ -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();