diff --git a/mainwindow.cpp b/mainwindow.cpp index 8205209eb..8ba977015 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -51,6 +51,7 @@ MainWindow::MainWindow(QWidget *parent) setClippedPassword(""); QtPass = NULL; QTimer::singleShot(10, this, SLOT(focusInput())); + qsrand(QDateTime::currentDateTime().toTime_t()); } void MainWindow::focusInput() {