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:
parent
133c2e1640
commit
66c8d6d360
@ -17,6 +17,8 @@
|
||||
|
||||
#include "closure.h"
|
||||
|
||||
#include <QTimer>
|
||||
|
||||
#include "core/logging.h"
|
||||
#include "core/timeconstants.h"
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include <QMetaMethod>
|
||||
#include <QObject>
|
||||
#include <QSharedPointer>
|
||||
#include <QTimer>
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user