CentOS: More build fixes

Esse commit está contido em:
Markus Goetz
2017-02-08 11:39:28 +01:00
commit df773ea8bb
2 arquivos alterados com 4 adições e 5 exclusões
+3 -4
Ver Arquivo
@@ -60,9 +60,6 @@
#define DEBUG qDebug() << "SocketApi: "
Q_DECLARE_METATYPE(OCC::SocketListener)
static inline QString removeTrailingSlash(QString path)
{
Q_ASSERT(path.endsWith(QLatin1Char('/')));
@@ -113,7 +110,7 @@ class SocketListener {
public:
QIODevice* socket;
SocketListener(QIODevice* socket = nullptr) : socket(socket) { }
SocketListener(QIODevice* socket = 0) : socket(socket) { }
void sendMessage(const QString& message, bool doWait = false) const
{
@@ -517,3 +514,5 @@ QString SocketApi::buildRegisterPathMessage(const QString& path)
}
} // namespace OCC
Q_DECLARE_METATYPE(OCC::SocketListener)
+1 -1
Ver Arquivo
@@ -226,7 +226,7 @@ public:
etag = file->etag;
return file;
}
return nullptr;
return 0;
}
FileInfo *createDir(const QString &relativePath) {