QTfrontend/main.cpp
changeset 1215 0c1c294c0f7e
parent 1214 090f94cd663e
child 1217 d6d91eec00f2
equal deleted inserted replaced
1214:090f94cd663e 1215:0c1c294c0f7e
    48 	QApplication app(argc, argv);
    48 	QApplication app(argc, argv);
    49 
    49 
    50 	QDateTime now = QDateTime::currentDateTime();
    50 	QDateTime now = QDateTime::currentDateTime();
    51 	QDateTime zero;
    51 	QDateTime zero;
    52 	srand(now.secsTo(zero));
    52 	srand(now.secsTo(zero));
       
    53 	rand();
    53 
    54 
    54 	Q_INIT_RESOURCE(hedgewars);
    55 	Q_INIT_RESOURCE(hedgewars);
    55 
    56 
    56 	qApp->setStyleSheet
    57 	qApp->setStyleSheet
    57 		(QString(
    58 		(QString(