Manager: Temporarily disable the system location option in the new machine wizard

This commit is contained in:
Alexander Babikov
2025-08-08 00:51:46 +05:00
parent e3c704326e
commit 7b5a861005
3 changed files with 41 additions and 1 deletions

View File

@@ -90,12 +90,16 @@ public:
[[nodiscard]] int nextId() const override;
private:
QLineEdit *systemName;
#ifdef CUSTOM_SYSTEM_LOCATION
QLineEdit *systemLocation;
#endif
QLabel *systemNameValidation;
#ifdef CUSTOM_SYSTEM_LOCATION
QLabel *systemLocationValidation;
QRegularExpression dirValidate;
private slots:
void chooseDirectoryLocation();
#endif
protected:
[[nodiscard]] bool isComplete() const override;
bool eventFilter(QObject *watched, QEvent *event) override;
@@ -109,7 +113,9 @@ public:
private:
QLabel *topLabel;
QLabel *systemName;
#ifdef CUSTOM_SYSTEM_LOCATION
QLabel *systemLocation;
#endif
protected:
void initializePage() override;
};