Randomize the listening port only on startup.

This commit is contained in:
sledgehammer999
2015-02-23 19:34:53 +02:00
parent 2c90ded9aa
commit 153f3328f3
3 changed files with 5 additions and 4 deletions

View File

@@ -63,6 +63,7 @@ private:
explicit Preferences();
static Preferences* m_instance;
QHash<QString, QVariant> m_data;
int m_randomPort;
bool dirty;
QTimer timer;
mutable QReadWriteLock lock;