Permalink
Browse files

Fix compilation issues on Linux

  • Loading branch information...
1 parent 40a8bec commit 245e1c7ebce3fd8a8c00a23aa1112f9f4ed6cb38 @mhoran mhoran committed Nov 16, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 src/NoOpReply.cpp
  2. +1 −1 src/NoOpReply.h
View
@@ -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
@@ -1,4 +1,4 @@
-#include <qnetworkreply>
+#include <QNetworkReply>
class NoOpReply : public QNetworkReply {
Q_OBJECT

0 comments on commit 245e1c7

Please sign in to comment.