qt, refactor: Remove outdated Qt version-specific code

Since bitcoin/bitcoin#30997, the minimum supported Qt version is 6.2.
This commit is contained in:
Hennadii Stepanov
2025-04-02 20:48:11 +01:00
parent 639279e86a
commit 4b36ab3a6a
8 changed files with 0 additions and 56 deletions

View File

@@ -12,11 +12,7 @@
// If we don't want a message to be processed by Qt, return true and set result to
// the value that the window procedure should return. Otherwise return false.
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
bool WinShutdownMonitor::nativeEventFilter(const QByteArray &eventType, void *pMessage, qintptr *pnResult)
#else
bool WinShutdownMonitor::nativeEventFilter(const QByteArray &eventType, void *pMessage, long *pnResult)
#endif
{
Q_UNUSED(eventType);