fix: 规范代码

This commit is contained in:
uniartisan 2022-12-27 10:24:15 +08:00
parent 0db8c8b1bb
commit 30b65350ca

@ -13,6 +13,7 @@
#define WaylandSearchCenter 1
#define OtherSearchCenter 2
#define RightSearchSpace 1
#define UploadServerUrl "https://upload.deepinos.org/"
MainWindow::MainWindow(QWidget *parent)
: BaseWidgetOpacity(parent), ui(new Ui::MainWindow)
@ -53,7 +54,7 @@ MainWindow::MainWindow(QWidget *parent)
ui->titlebar->setMenu(menu);
connect(actionSubmission, &QAction::triggered, this, [=]
{ QDesktopServices::openUrl(QUrl("https://upload.deepinos.org/")); });
{ QDesktopServices::openUrl(QUrl(UploadServerUrl)); });
connect(setting, &QAction::triggered, this, [=]
{
switchPage(AppPageSettings);