Commit c150bba7 authored by Volker Krause's avatar Volker Krause
Browse files

Warn when no server URL is set.

parent 64cdd9d5
......@@ -210,6 +210,11 @@ void Provider::setSurveyCompleted(const SurveyInfo &info)
void Provider::submit()
{
if (!d->serverUrl.isValid()) {
qWarning() << "No feedback server URL specified!";
return;
}
if (!d->networkAccessManager)
d->networkAccessManager = new QNetworkAccessManager(this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment