添加服务器url配置功能

This commit is contained in:
2022-12-09 21:27:01 +08:00
parent 562b582f72
commit 98cf333386
5 changed files with 123 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ MainWindow::MainWindow(QWidget *parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
initConfig();
moveToCenter(this); //让窗口居中显示
QPropertyAnimation *animation = new QPropertyAnimation(this, "windowOpacity", this);
@@ -34,7 +34,6 @@ MainWindow::MainWindow(QWidget *parent)
//ui->titlebar->setSwitchThemeMenuVisible(false); // 去除 dtk 标题栏主题切换菜单
setMaskAlpha(240);
initConfig();
updateUi(0);
QAction *setting = new QAction(tr("Settings"));