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/otrguiclient.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/otrguiclient.cpp') diff --git a/src/otrguiclient.cpp b/src/otrguiclient.cpp index ccafe80..48dc193 100644 --- a/src/otrguiclient.cpp +++ b/src/otrguiclient.cpp @@ -18,6 +18,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ +#if defined(HAVE_CONFIG_H) +#include "config.h" +#endif #include #include -- cgit v1.2.1