Replace QFontMetrics::width with horizontalAdvance, dark with darker, background() with window() and QString::null with QString()

This commit is contained in:
Jonas Kvinge
2019-07-08 22:19:14 +02:00
parent 51462dee1e
commit 870dc0d36f
11 changed files with 18 additions and 18 deletions

View File

@@ -610,7 +610,7 @@ void ContextView::SetImage(const QImage &image) {
// Cache the current pixmap so we can fade between them
pixmap_previous_ = QPixmap(size());
pixmap_previous_.fill(palette().background().color());
pixmap_previous_.fill(palette().window().color());
pixmap_previous_opacity_ = 1.0;
QPainter p(&pixmap_previous_);