Since for some bizarre (and locally unreproducable) reason the default
nick for newly created identities seems to be "quassel251" for many people,
we try a different way of seeding the random generator. No idea why localtime
wouldn't work...
QApplication app(argc, argv);
#endif
QApplication app(argc, argv);
#endif
- qsrand(QDateTime::currentDateTime().toTime_t());
+ qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
// Set up i18n support
QLocale locale = QLocale::system();
// Set up i18n support
QLocale locale = QLocale::system();