From 678cb733f92a43e762d73b2b53843fd08f138de9 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sat, 24 Feb 2024 12:15:49 +0700 Subject: [PATCH] Vidalia.cpp: fix linking Fix suggested in https://github.com/a-ilin/vidalia/issues/1#issuecomment-936246083 --- src/vidalia/Vidalia.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git src/vidalia/Vidalia.cpp src/vidalia/Vidalia.cpp index 2a34fc39..2497a33a 100644 --- src/vidalia/Vidalia.cpp +++ src/vidalia/Vidalia.cpp @@ -239,6 +239,11 @@ VidaliaNativeEventFilter::nativeEventFilter(const QByteArray& /*eventType*/, voi return false; #endif } +#else +bool VidaliaNativeEventFilter::nativeEventFilter(const QByteArray& /*eventType*/, void* message, long* result) +{ + return false; +} #endif /** Returns true if the user wants to see usage information. */