mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +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);
|
||||
|
|
|
@ -262,7 +262,7 @@ bool update_manager::handle_json(const QByteArray& data, bool automatic)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool update_manager::handle_rpcs3(const QByteArray& rpcs3_data, bool automatic)
|
||||
bool update_manager::handle_rpcs3(const QByteArray& rpcs3_data, bool /*automatic*/)
|
||||
{
|
||||
if (m_expected_size != rpcs3_data.size())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue