mirror of
https://github.com/chenx-dust/EZ4Connect.git
synced 2026-09-20 02:13:32 +08:00
chore: 微调主界面
This commit is contained in:
@@ -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(" · ")));
|
||||
|
||||
Reference in New Issue
Block a user