Browse Source

qsrand ceases to exist with Qt 6

Donald Carr 4 năm trước cách đây
mục cha
commit
f48feb871a
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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);