change constants from #define to const var val

Update contributing.md accordingly
This commit is contained in:
arcanis committed 2016-09-18 00:59:23 +03:00
1 parent 6449465be2
commit ee6cf60aa4
8 files changed
+100 -97

No files matched your search

@@ -83,7 +83,7 @@ void AWBugReporter::sendBugReport(const QString title, const QString body)
connect(manager, SIGNAL(finished(QNetworkReply *)), this,
SLOT(issueReplyRecieved(QNetworkReply *)));
QNetworkRequest request(QUrl(BUGTRACKER_API));
QNetworkRequest request = QNetworkRequest(QUrl(BUGTRACKER_API));
request.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");
// generate payload