mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Set pixmap device pixel ratio when creating empty version
This commit is contained in:
@@ -1486,6 +1486,7 @@ void MainWindow::setCaptureHasErrors(bool errors)
|
||||
{
|
||||
const QPixmap &del = Pixmaps::del(this);
|
||||
QPixmap empty(del.width(), del.height());
|
||||
empty.setDevicePixelRatio(del.devicePixelRatio());
|
||||
empty.fill(Qt::transparent);
|
||||
statusIcon->setPixmap(m_messageAlternate ? empty : del);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user