Jelajahi Sumber

qsrand ceases to exist with Qt 6

Donald Carr 4 tahun lalu
induk
melakukan
f48feb871a
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  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);