Skip to content

Commit

Permalink
fix bitrate viewer saved image not antialiased
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Dec 8, 2023
1 parent c3707fb commit 3d78c7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dialogs/bitratedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ BitrateDialog::BitrateDialog(const QString &resource, double fps, const QJsonArr
connect(buttons, &QDialogButtonBox::accepted, this, [ = ] {
QImage image(chartView->size(), QImage::Format_RGB32);
QPainter painter(&image);
painter.setRenderHint(QPainter::Antialiasing);
chartView->render(&painter);
painter.end();
SaveImageDialog(this, tr("Save Bitrate Graph"), image).exec();
Expand Down

0 comments on commit 3d78c7d

Please sign in to comment.