mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 15:51:29 -04:00
fixed black background in statistics with qt5 (patch from sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
98c6097767
commit
c462801772
3 changed files with 3 additions and 3 deletions
|
@ -142,7 +142,7 @@ void GlobalRouterStatisticsWidget::updateContent()
|
||||||
// Msg id Local origin Destination Time Status
|
// Msg id Local origin Destination Time Status
|
||||||
//
|
//
|
||||||
QPixmap tmppixmap(maxWidth, maxHeight);
|
QPixmap tmppixmap(maxWidth, maxHeight);
|
||||||
tmppixmap.fill(this, 0, 0);
|
tmppixmap.fill(Qt::transparent);
|
||||||
setFixedHeight(maxHeight);
|
setFixedHeight(maxHeight);
|
||||||
|
|
||||||
QPainter painter(&tmppixmap);
|
QPainter painter(&tmppixmap);
|
||||||
|
|
|
@ -56,7 +56,7 @@ void OutQueueStatisticsWidget::updateStatistics(OutQueueStatistics& stats)
|
||||||
static const int celly = 10+4 ;
|
static const int celly = 10+4 ;
|
||||||
|
|
||||||
QPixmap tmppixmap(maxWidth, maxHeight);
|
QPixmap tmppixmap(maxWidth, maxHeight);
|
||||||
tmppixmap.fill(this, 0, 0);
|
tmppixmap.fill(Qt::transparent);
|
||||||
setFixedHeight(maxHeight);
|
setFixedHeight(maxHeight);
|
||||||
|
|
||||||
QPainter painter(&tmppixmap);
|
QPainter painter(&tmppixmap);
|
||||||
|
|
|
@ -279,7 +279,7 @@ void TurtleRouterStatisticsWidget::updateTunnelStatistics(const std::vector<std:
|
||||||
static const int celly = 10+4 ;
|
static const int celly = 10+4 ;
|
||||||
|
|
||||||
QPixmap tmppixmap(maxWidth, maxHeight);
|
QPixmap tmppixmap(maxWidth, maxHeight);
|
||||||
tmppixmap.fill(this, 0, 0);
|
tmppixmap.fill(Qt::transparent);
|
||||||
setFixedHeight(maxHeight);
|
setFixedHeight(maxHeight);
|
||||||
|
|
||||||
QPainter painter(&tmppixmap);
|
QPainter painter(&tmppixmap);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue