浏览代码

qsrand ceases to exist with Qt 6

Donald Carr 4 年之前
父节点
当前提交
f48feb871a
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/main.cpp

+ 0 - 1
src/main.cpp

@@ -215,7 +215,6 @@ int main(int argc, char *argv[])
     Q_IMPORT_PLUGIN(QtQuick2WindowPlugin)
     Q_IMPORT_PLUGIN(QtQuick2Plugin)
 #endif
-    qsrand(time(NULL));
 
     QGuiApplication app(argc, argv);
     app.setOverrideCursor(Qt::BlankCursor);