remove comment

This commit is contained in:
dranik
2026-05-25 14:33:19 +03:00
parent 6e167e998b
commit b7d378ecb7
3 changed files with 0 additions and 7 deletions
@@ -23,8 +23,6 @@ public:
amnezia::ProtocolConfig processConfigWithLocalSettings(const amnezia::ConnectionSettings &settings,
amnezia::ProtocolConfig protocolConfig) override;
/// Uploads server.json inbound (port, streamSettings, client flows). Optionally appends a new VLESS client.
/// When appendNewClient is false, rebuilds admin client config in containerConfig from the first server client.
amnezia::ErrorCode applyServerSettingsToRemote(const amnezia::ServerCredentials &credentials,
amnezia::DockerContainer container,
amnezia::ContainerConfig &containerConfig,
@@ -56,7 +54,6 @@ private:
QJsonObject mergeStreamSettingsForServerInbound(const amnezia::XrayServerConfig &srv,
const QJsonObject &existingStreamSettings) const;
// Builds the native xray "streamSettings" JSON object from XrayServerConfig
QJsonObject buildStreamSettings(const amnezia::XrayServerConfig &srv,
const QString &clientId) const;
};
@@ -100,7 +100,6 @@ struct XrayServerConfig {
QString site;
bool isThirdPartyConfig = false;
// Extended VLESS fields: empty in persisted JSON means "not set" (UI defaults applied in XrayConfigModel).
QString security;
QString flow;
QString fingerprint;
@@ -140,10 +139,8 @@ struct XrayProtocolConfig {
void setClientConfig(const XrayClientConfig &config);
void clearClientConfig();
/// Set in fromJson when persisted server fields are missing (typical shared profile).
bool needsClientHydration = false;
/// Fills serverConfig from client nativeConfig (outbound streamSettings). For read-only UI.
bool hydrateServerConfigFromClientNative();
};
@@ -185,7 +185,6 @@ PageType {
Layout.bottomMargin: 8
Layout.leftMargin: 16
Layout.rightMargin: 16
// Show Save while port is being edited (before editingFinished) or other fields changed.
visible: listView.enabled
&& (XrayConfigModel.hasUnsavedChanges
|| textFieldWithHeaderType.textField.text !== port)