mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-01 04:46:47 -05:00
Replaced depecated QPainter::initFrom by QPainter::begin
This commit is contained in:
parent
9ebc4b00ed
commit
21174aa5d7
5 changed files with 6 additions and 6 deletions
|
|
@ -268,7 +268,7 @@ void GlobalRouterStatisticsWidget::updateContent()
|
|||
setFixedHeight(maxHeight);
|
||||
|
||||
QPainter painter(&tmppixmap);
|
||||
painter.initFrom(this);
|
||||
painter.begin(this);
|
||||
painter.setPen(QColor::fromRgb(0,0,0)) ;
|
||||
|
||||
QFont times_f(font());//"Times") ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue