Manager: Disable resizing the "Searching for VMs" window

and the update checker window
This commit is contained in:
Alexander Babikov
2025-07-27 04:38:55 +05:00
parent b42b735c25
commit cbd5991273
3 changed files with 4 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ UpdateCheckDialog(const UpdateCheck::UpdateChannel channel, QWidget *parent) : Q
ui->setupUi(this);
setWindowTitle(tr("Update check"));
ui->statusLabel->setHidden(true);
this->setFixedSize(400, 130);
updateChannel = channel;
currentVersion = UpdateCheck::getCurrentVersion(updateChannel);
connect(updateCheck, &UpdateCheck::updateCheckError, [=](const QString &errorMsg) {

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>350</width>
<height>134</height>
<width>400</width>
<height>130</height>
</rect>
</property>
<property name="sizePolicy">

View File

@@ -126,6 +126,7 @@ VMManagerSystem::scanForConfigs(QWidget* parent, const QString &searchPath)
progDialog.setMinimum(0);
progDialog.setMaximum(0);
progDialog.setWindowFlags(progDialog.windowFlags() & ~Qt::WindowCloseButtonHint);
progDialog.setFixedSize(progDialog.sizeHint());
QElapsedTimer scanTimer;
scanTimer.start();
QVector<VMManagerSystem *> system_configs;