Tidy up a bit.
This commit is contained in:
parent
133c2e1640
commit
66c8d6d360
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
#include "closure.h"
|
#include "closure.h"
|
||||||
|
|
||||||
|
#include <QTimer>
|
||||||
|
|
||||||
#include "core/logging.h"
|
#include "core/logging.h"
|
||||||
#include "core/timeconstants.h"
|
#include "core/timeconstants.h"
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include <QMetaMethod>
|
#include <QMetaMethod>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QTimer>
|
|
||||||
|
|
||||||
#include <boost/noncopyable.hpp>
|
#include <boost/noncopyable.hpp>
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
|
|
|
@ -303,10 +303,9 @@ int main(int argc, char *argv[]) {
|
||||||
logging::SetLevels(options.log_levels());
|
logging::SetLevels(options.log_levels());
|
||||||
g_log_set_default_handler(reinterpret_cast<GLogFunc>(&logging::GLog), NULL);
|
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);
|
time_t t = time(NULL);
|
||||||
srand(time(NULL));
|
srand(t);
|
||||||
qDebug() << "Seeding with:" << t;
|
|
||||||
qsrand(t);
|
qsrand(t);
|
||||||
|
|
||||||
IncreaseFDLimit();
|
IncreaseFDLimit();
|
||||||
|
|
Loading…
Reference in New Issue