From 6215c76a4b328b764e5437eea7eea7c4da58f703 Mon Sep 17 00:00:00 2001 From: XMuli Date: Sat, 8 Apr 2023 18:09:48 +0800 Subject: [PATCH] fix: build macos --- src/preference/preference.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preference/preference.cpp b/src/preference/preference.cpp index 7b3be34..f5f754a 100644 --- a/src/preference/preference.cpp +++ b/src/preference/preference.cpp @@ -505,7 +505,7 @@ QWidget *Preference::tabAbout() logo->setPixmap(QIcon(":/resources/logo.png").pixmap(QSize(48, 48) * m_scale)); grid->addWidget(logo, i++, j, 2, 2, Qt::AlignCenter); //占据两格 - const double ponitSize = 14; + double ponitSize = 14; #if defined(Q_OS_MAC) ponitSize = 14; #endif