1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

refactor: correct indentation in filetransferwidget.cpp

This commit is contained in:
sudden6 2017-03-05 11:56:20 +01:00
parent ec81b07bb3
commit bf0e6817af
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -214,8 +214,6 @@ void FileTransferWidget::paintEvent(QPaintEvent*)
const int buttonFieldWidth = 32; const int buttonFieldWidth = 32;
const int lineWidth = 1; const int lineWidth = 1;
// draw background
if (drawButtonAreaNeeded())
// Draw the widget background: // Draw the widget background:
painter.setClipRect(QRect(0, 0, width(), height())); painter.setClipRect(QRect(0, 0, width(), height()));
painter.setBrush(QBrush(backgroundColor)); painter.setBrush(QBrush(backgroundColor));