mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Qt: disable progress_dialog resize
This commit is contained in:
parent
200162cf2a
commit
6fe32887b2
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ progress_dialog::progress_dialog(const QString &windowTitle, const QString &labe
|
|||
: QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags)
|
||||
{
|
||||
setWindowTitle(windowTitle);
|
||||
setFixedWidth(QLabel("This is the very length of the progressdialog due to hidpi reasons.").sizeHint().width());
|
||||
setFixedSize(QLabel("This is the very length of the progressdialog due to hidpi reasons.").sizeHint().width(), sizeHint().height());
|
||||
setValue(0);
|
||||
setWindowModality(Qt::WindowModal);
|
||||
connect(this, &QProgressDialog::canceled, this, &QProgressDialog::deleteLater);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue