From 441168756e4dce210b48c7e559d1f90eed2b45e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 10 Jul 2021 00:31:42 +0200 Subject: twin-style smooth-blend: Add KDE_EXPORT to the public symbols. This solves the crash when using this twin-style if built with hidden visibility. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit aa772880377650c24e258970f5ee8540c3793e5c) --- twin-styles/smooth-blend/client/config/smoothblendconfig.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'twin-styles/smooth-blend/client/config/smoothblendconfig.cpp') diff --git a/twin-styles/smooth-blend/client/config/smoothblendconfig.cpp b/twin-styles/smooth-blend/client/config/smoothblendconfig.cpp index 83f0afcf..f3c5c545 100644 --- a/twin-styles/smooth-blend/client/config/smoothblendconfig.cpp +++ b/twin-styles/smooth-blend/client/config/smoothblendconfig.cpp @@ -172,10 +172,12 @@ void smoothblendConfig::defaults() { // Plugin Stuff // ////////////////////////////////////////////////////////////////////////////// -extern "C" { - TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { - return (new smoothblendConfig(config, parent)); - } +extern "C" +{ + KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) + { + return (new smoothblendConfig(config, parent)); + } } #include "smoothblendconfig.moc" -- cgit v1.2.3