diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-12-02 00:51:02 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-12-02 00:51:02 +0300 |
commit | 0cbf4196610df7c44d5edfe98126a1af42d0e19f (patch) | |
tree | ba3140e390d3c310c078f3eca20e4c5f8bdcc07c /src/mumble/Usage.cpp | |
parent | fdc826139562dad3158305f3692c07e4305dce47 (diff) |
Indent, changelog and submodule update1.2.0beta2
Diffstat (limited to 'src/mumble/Usage.cpp')
-rw-r--r-- | src/mumble/Usage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mumble/Usage.cpp b/src/mumble/Usage.cpp index 516043f6d..c21f44107 100644 --- a/src/mumble/Usage.cpp +++ b/src/mumble/Usage.cpp @@ -42,7 +42,7 @@ Usage::Usage(QObject *p) : QObject(p) { qdsReport.setDevice(&qbReport); qdsReport.setVersion(QDataStream::Qt_4_5); qdsReport << static_cast<unsigned int>(1); - + // Wait 10 minutes (so we know they're actually using this), then... QTimer::singleShot(60 * 10 * 1000, this, SLOT(registerUsage())); QTimer::singleShot(60 * 10 * 1000, this, SLOT(reportJitter())); @@ -52,7 +52,7 @@ void Usage::addJitter(ClientUser *cu) { QMutexLocker qml(& cu->qmTiming); if (! cu->qlTiming.isEmpty()) { qdsReport << cu->qsHash; - + qdsReport << cu->qlTiming; } } @@ -100,7 +100,7 @@ void Usage::registerUsage() { void Usage::reportJitter() { QTimer::singleShot(60 * 10 * 1000, this, SLOT(reportJitter())); - + if (qbReport.size() == 0) return; @@ -109,7 +109,7 @@ void Usage::reportJitter() { QNetworkReply *rep = g.nam->post(req, qCompress(qbReport.buffer(), 9)); connect(rep, SIGNAL(finished()), rep, SLOT(deleteLater())); - + qbReport.close(); qbReport.setData(QByteArray()); |