mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 09:26:18 -05: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
@ -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…
Reference in New Issue
Block a user