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:
csoler 2015-05-20 19:50:10 +00:00
parent 98c6097767
commit c462801772
3 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ void GlobalRouterStatisticsWidget::updateContent()
// Msg id Local origin Destination Time Status
//
QPixmap tmppixmap(maxWidth, maxHeight);
tmppixmap.fill(this, 0, 0);
tmppixmap.fill(Qt::transparent);
setFixedHeight(maxHeight);
QPainter painter(&tmppixmap);

View File

@ -56,7 +56,7 @@ void OutQueueStatisticsWidget::updateStatistics(OutQueueStatistics& stats)
static const int celly = 10+4 ;
QPixmap tmppixmap(maxWidth, maxHeight);
tmppixmap.fill(this, 0, 0);
tmppixmap.fill(Qt::transparent);
setFixedHeight(maxHeight);
QPainter painter(&tmppixmap);

View File

@ -279,7 +279,7 @@ void TurtleRouterStatisticsWidget::updateTunnelStatistics(const std::vector<std:
static const int celly = 10+4 ;
QPixmap tmppixmap(maxWidth, maxHeight);
tmppixmap.fill(this, 0, 0);
tmppixmap.fill(Qt::transparent);
setFixedHeight(maxHeight);
QPainter painter(&tmppixmap);