Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix compilation issues on Linux

  • Loading branch information...
commit 245e1c7ebce3fd8a8c00a23aa1112f9f4ed6cb38 1 parent 40a8bec
@mhoran mhoran authored
Showing with 4 additions and 2 deletions.
  1. +3 −1 src/NoOpReply.cpp
  2. +1 −1  src/NoOpReply.h
View
4 src/NoOpReply.cpp
@@ -1,4 +1,4 @@
-#include <QTimer.h>
+#include <QTimer>
#include "NoOpReply.h"
NoOpReply::NoOpReply(QObject *parent) : QNetworkReply(parent) {
@@ -24,6 +24,8 @@ bool NoOpReply::isSequential() const {
}
qint64 NoOpReply::readData(char *data, qint64 maxSize) {
+ Q_UNUSED(data);
+ Q_UNUSED(maxSize);
return 0;
}
View
2  src/NoOpReply.h
@@ -1,4 +1,4 @@
-#include <qnetworkreply>
+#include <QNetworkReply>
class NoOpReply : public QNetworkReply {
Q_OBJECT
Please sign in to comment.
Something went wrong with that request. Please try again.