From 036880495c584526b536b08589620290a9171f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 29 Jun 2021 13:17:37 +0200 Subject: Create a custom OTRPluginFactory object instead of using the KGenericFactory template. This prevents an unwanted creation of a hidden second instance if the library is built with enabled hidden visibility. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This resolves issue #3. Signed-off-by: Slávek Banko (cherry picked from commit 186deab80cc9a4b742027d74f8025e15bbd334ca) --- src/otrpreferences.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/otrpreferences.cpp') diff --git a/src/otrpreferences.cpp b/src/otrpreferences.cpp index 9fabb3f..6f6fafe 100644 --- a/src/otrpreferences.cpp +++ b/src/otrpreferences.cpp @@ -18,6 +18,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ +#if defined(HAVE_CONFIG_H) +#include "config.h" +#endif + #include #include #include -- cgit v1.2.1