更新painterpath头文件引用

This commit is contained in:
feiyangqingyun
2020-06-30 17:53:20 +08:00
parent 6b9918adac
commit 3d7430106b
10 changed files with 20 additions and 11 deletions

View File

@@ -276,6 +276,7 @@ void VideoWidget::drawBg(QPainter *painter)
//背景图片为空则绘制文字,否则绘制背景图片
if (bgImage.isNull()) {
painter->setFont(this->font());
painter->setPen(palette().foreground().color());
painter->drawText(rect(), Qt::AlignCenter, bgText);
} else {