Commit ae64fa29 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix render time overlapping text button.

Fixes #424
parent 32cc9bac
......@@ -22,7 +22,7 @@ ProgressButton::ProgressButton(const QString &text, double max, QWidget *parent)
m_progressFont = font();
m_progressFont.setPixelSize(m_iconSize / 2);
initStyleOption(&m_buttonStyle);
QPixmap pix(1, 1);
QPixmap pix(m_iconSize, m_iconSize);
pix.fill(Qt::transparent);
m_dummyAction = new QAction(QIcon(pix), text, this);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment