diff --git a/src/blackcore/application.cpp b/src/blackcore/application.cpp index ad66e1dc3..820d908a5 100644 --- a/src/blackcore/application.cpp +++ b/src/blackcore/application.cpp @@ -1135,8 +1135,7 @@ namespace BlackCore return CStatusMessage(this).warning("%1 not found. Cannot init crash handler!") << handler; } - CUrl serverUrl; - serverUrl = getGlobalSetup().getCrashReportServerUrl(); + const CUrl serverUrl = this->getGlobalSetup().getCrashReportServerUrl(); std::map annotations; // Caliper (mini-breakpad-server) annotations @@ -1191,8 +1190,8 @@ namespace BlackCore connect(reply, &QNetworkReply::finished, callback.object(), [ = ] { // Called when finished! - // QNetworkRequest::FollowRedirectsAttribute would allow auto redirect - // but we use our approach as it gives us better control + // QNetworkRequest::FollowRedirectsAttribute would allow auto redirect, but we use our approach as it gives us better control + // \fixme: Check again on Qt 5.9: Added redirects policy to QNetworkAccessManager (ManulRedirectsPolicy, NoLessSafeRedirectsPolicy, SameOriginRedirectsPolicy, UserVerifiedRedirectsPolicy) const bool isRedirect = CNetworkUtils::isHttpStatusRedirect(reply); if (isRedirect && maxRedirects > 0) { diff --git a/src/blackgui/components/colorselector.cpp b/src/blackgui/components/colorselector.cpp index 9b624be22..8ef98ab4d 100644 --- a/src/blackgui/components/colorselector.cpp +++ b/src/blackgui/components/colorselector.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2013 +/* Copyright (C) 2015 * swift project Community / Contributors * * This file is part of swift Project. It is subject to the license terms in the LICENSE file found in the top-level