From 7303f18959cb22abcc9b9b6ced00a223b3f18ac3 Mon Sep 17 00:00:00 2001 From: Chenx Dust Date: Mon, 10 Aug 2026 15:59:17 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=BE=AE=E8=B0=83=E4=B8=BB=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- presentation/main/mainwindow.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/presentation/main/mainwindow.cpp b/presentation/main/mainwindow.cpp index b6aedd8..a56f325 100644 --- a/presentation/main/mainwindow.cpp +++ b/presentation/main/mainwindow.cpp @@ -72,7 +72,7 @@ MainWindow::MainWindow( ui->setupUi(this); #ifdef Q_OS_MACOS const QMargins centralMargins = ui->centralWidget->contentsMargins(); - ui->centralWidget->setContentsMargins(centralMargins.left(), 16, centralMargins.right(), centralMargins.bottom()); + ui->centralWidget->setContentsMargins(centralMargins.left(), 12, centralMargins.right(), centralMargins.bottom()); #endif ui->logPlainTextEdit->setFont( QFontDatabase::systemFont(QFontDatabase::FixedFont) @@ -524,10 +524,6 @@ void MainWindow::updateProfileSummary() QStringList details{protocol}; details.append(server.isEmpty() ? QStringLiteral("尚未配置服务器") : server); - if (systemProxySession != nullptr && systemProxySession->isEnabled()) - { - details.append(QStringLiteral("系统代理已启用")); - } ui->profileNameLabel->setText(profileName); ui->profileDetailLabel->setText(details.join(QStringLiteral(" · ")));