diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2019-10-10 04:14:38 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2019-10-10 04:14:38 +0300 |
commit | 1ac534915c54a2a60e181ea8c900643e854dcdbf (patch) | |
tree | c8bda07f2ef125182e5b6a9f54b557a29c6f178c /src/Connection.h | |
parent | a50e572e2d5386c35e24d93e14f013531cee79b4 (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.h | 8 |
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 |