mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Follow project coding style. Issue #2192.
This commit is contained in:
parent
8e64ffba01
commit
f9c2bd3502
6 changed files with 852 additions and 840 deletions
|
@ -32,7 +32,6 @@
|
|||
#include <QDebug>
|
||||
#include "pieceavailabilitybar.h"
|
||||
|
||||
|
||||
PieceAvailabilityBar::PieceAvailabilityBar(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
{
|
||||
|
@ -192,7 +191,7 @@ void PieceAvailabilityBar::clear()
|
|||
update();
|
||||
}
|
||||
|
||||
void PieceAvailabilityBar::paintEvent(QPaintEvent *)
|
||||
void PieceAvailabilityBar::paintEvent(QPaintEvent*)
|
||||
{
|
||||
QPainter painter(this);
|
||||
QRect imageRect(1, 1, width() - 2, height() - 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue