diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-14 10:35:45 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-14 13:37:17 -0700 |
commit | d323e9381b17873353a10803d71b80fb57e6bde3 (patch) | |
tree | 430293de9301ec0f58d35da98773a9fcdf0c6de6 /core/qthelper.h | |
parent | cd8e1eb15aa23e760a2e7a952652e92433f43a6c (diff) | |
download | subsurface-d323e9381b17873353a10803d71b80fb57e6bde3.tar.gz |
Stop support Qt versions before 5.9
There's just no point to testing these outdated versions.
Everything we build is now Qt 5.9 or newer.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qthelper.h')
-rw-r--r-- | core/qthelper.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/core/qthelper.h b/core/qthelper.h index 1322cc9b9..090f4fc6f 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -112,22 +112,6 @@ void moveInVector(Vector &v, int rangeBegin, int rangeEnd, int destination) else if (destination < rangeBegin) std::rotate(it + destination, it + rangeBegin, it + rangeEnd); } - -// Qt overloads some signals(!) which can't therefore be used in connect() calls with -// pointers-to-member functions where the signatures of signal and slot don't match perfectly. -// For this case, Qt 5.7 provides the qOverload<> helper. -// Since we still support Qt 5.5 let's reimplement it here. -#if QT_VERSION < 0x050700 -template <typename... Args> -struct QOverload { - template <typename Ret, typename Class> - static Ret (Class::*of(Ret (Class::*fun)(Args...)))(Args...) - { - return fun; - } -}; -#endif - #endif // 3) Functions visible to C and C++ |