Skip to content
Permalink
Browse files

Merge PR #2424: Fix updatecheck result logging

  • Loading branch information...
mkrautz committed Jul 18, 2016
2 parents ac134d3 + edba745 commit af38fdb8caae8dc7d92401a1cd92e124ce510d1b
Showing with 1 addition and 5 deletions.
  1. +1 −3 src/mumble/VersionCheck.cpp
  2. +0 −2 src/mumble/VersionCheck.h
@@ -12,8 +12,6 @@
#include "WebFetch.h"

VersionCheck::VersionCheck(bool autocheck, QObject *p, bool focus) : QObject(p) {
bSilent = autocheck;

QUrl url;
url.setPath(focus ? QLatin1String("/v1/banner") : QLatin1String("/v1/version-check"));

@@ -184,7 +182,7 @@ void VersionCheck::fetched(QByteArray a, QUrl url) {
g.mw->msgBox(QString::fromUtf8(a));
#endif
}
} else if (bSilent) {
} else {
g.mw->msgBox(tr("Mumble failed to retrieve version information from the central server."));
}

@@ -14,8 +14,6 @@ class VersionCheck : public QObject {
private:
Q_OBJECT
Q_DISABLE_COPY(VersionCheck)
protected:
bool bSilent;
public slots:
void fetched(QByteArray data, QUrl url);
public:

0 comments on commit af38fdb

Please sign in to comment.
You can’t perform that action at this time.