1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 11:19:18 +01:00

Tidy up a bit.

This commit is contained in:
John Maguire 2012-04-13 15:53:17 +02:00
parent 133c2e1640
commit 66c8d6d360
3 changed files with 4 additions and 4 deletions

View File

@ -17,6 +17,8 @@
#include "closure.h"
#include <QTimer>
#include "core/logging.h"
#include "core/timeconstants.h"

View File

@ -23,7 +23,6 @@
#include <QMetaMethod>
#include <QObject>
#include <QSharedPointer>
#include <QTimer>
#include <boost/noncopyable.hpp>
#include <boost/scoped_ptr.hpp>

View File

@ -303,10 +303,9 @@ int main(int argc, char *argv[]) {
logging::SetLevels(options.log_levels());
g_log_set_default_handler(reinterpret_cast<GLogFunc>(&logging::GLog), NULL);
// Seed the random number generator
// Seed the random number generators.
time_t t = time(NULL);
srand(time(NULL));
qDebug() << "Seeding with:" << t;
srand(t);
qsrand(t);
IncreaseFDLimit();