Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@gmail.com>2019-10-10 04:14:38 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2019-10-10 04:14:38 +0300
commit1ac534915c54a2a60e181ea8c900643e854dcdbf (patch)
treec8bda07f2ef125182e5b6a9f54b557a29c6f178c /src/Connection.h
parenta50e572e2d5386c35e24d93e14f013531cee79b4 (diff)
Remove remaining Qt 4 stuff
For reference: https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
Diffstat (limited to 'src/Connection.h')
-rw-r--r--src/Connection.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Connection.h b/src/Connection.h
index a431315a2..9bc24ab05 100644
--- a/src/Connection.h
+++ b/src/Connection.h
@@ -36,11 +36,7 @@ class Connection : public QObject {
Q_DISABLE_COPY(Connection)
protected:
QSslSocket *qtsSocket;
-#if QT_VERSION >= 0x040700
QElapsedTimer qtLastPacket;
-#else
- QTime qtLastPacket;
-#endif
unsigned int uiType;
int iPacketLength;
#ifdef Q_OS_WIN
@@ -94,8 +90,4 @@ class Connection : public QObject {
#endif
};
-#if QT_VERSION < 0x050000
-Q_DECLARE_METATYPE(QAbstractSocket::SocketError)
-#endif
-
#endif