Skip to content

Commit

Permalink
修复程序启动阶段的数据库初始化显示错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyu-coder committed Dec 27, 2020
1 parent 8bf54a2 commit 885156f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SIM_System.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.11.0, 2020-12-27T00:32:44. -->
<!-- Written by QtCreator 4.11.0, 2020-12-27T10:58:56. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
Expand Down
2 changes: 1 addition & 1 deletion loginwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LogInWidget::LogInWidget(QWidget *parent) :
qApp->quit();
}
}else{
QMessageBox::warning(this,"数据库初始化错误",res);
QMessageBox::information(this,"数据库初始化",res);
if(iniFile.open(QIODevice::WriteOnly|QIODevice::Text)){
iniFile.close();
}else{
Expand Down

0 comments on commit 885156f

Please sign in to comment.