Prechádzať zdrojové kódy

qsrand ceases to exist with Qt 6

Donald Carr 4 rokov pred
rodič
commit
f48feb871a
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  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);