Manager: Disable resizing the "Searching for VMs" window
and the update checker window
This commit is contained in:
@@ -32,6 +32,7 @@ UpdateCheckDialog(const UpdateCheck::UpdateChannel channel, QWidget *parent) : Q
|
|||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setWindowTitle(tr("Update check"));
|
setWindowTitle(tr("Update check"));
|
||||||
ui->statusLabel->setHidden(true);
|
ui->statusLabel->setHidden(true);
|
||||||
|
this->setFixedSize(400, 130);
|
||||||
updateChannel = channel;
|
updateChannel = channel;
|
||||||
currentVersion = UpdateCheck::getCurrentVersion(updateChannel);
|
currentVersion = UpdateCheck::getCurrentVersion(updateChannel);
|
||||||
connect(updateCheck, &UpdateCheck::updateCheckError, [=](const QString &errorMsg) {
|
connect(updateCheck, &UpdateCheck::updateCheckError, [=](const QString &errorMsg) {
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>350</width>
|
<width>400</width>
|
||||||
<height>134</height>
|
<height>130</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ VMManagerSystem::scanForConfigs(QWidget* parent, const QString &searchPath)
|
|||||||
progDialog.setMinimum(0);
|
progDialog.setMinimum(0);
|
||||||
progDialog.setMaximum(0);
|
progDialog.setMaximum(0);
|
||||||
progDialog.setWindowFlags(progDialog.windowFlags() & ~Qt::WindowCloseButtonHint);
|
progDialog.setWindowFlags(progDialog.windowFlags() & ~Qt::WindowCloseButtonHint);
|
||||||
|
progDialog.setFixedSize(progDialog.sizeHint());
|
||||||
QElapsedTimer scanTimer;
|
QElapsedTimer scanTimer;
|
||||||
scanTimer.start();
|
scanTimer.start();
|
||||||
QVector<VMManagerSystem *> system_configs;
|
QVector<VMManagerSystem *> system_configs;
|
||||||
|
|||||||
Reference in New Issue
Block a user