更新随机初始化问题

上级 2211129d
......@@ -4,6 +4,7 @@
#include <QTextCodec>
int main(int argc, char *argv[])
{
srand(static_cast<unsigned int>(time(nullptr)));
QApplication a(argc, argv);
//设置中文编码
#if (QT_VERSION <= QT_VERSION_CHECK(5,0,0))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册