diff --git a/effects/configs_builtins.cpp b/effects/configs_builtins.cpp index 11ee79219e..53113d60c4 100644 --- a/effects/configs_builtins.cpp +++ b/effects/configs_builtins.cpp @@ -15,8 +15,9 @@ License. See the file "COPYING" for the exact licensing terms. #include #include - +#ifndef KDE_USE_FINAL KWIN_EFFECT_CONFIG_FACTORY +#endif K_PLUGIN_FACTORY_DEFINITION(EffectFactory, registerPlugin("shadow"); registerPlugin("presentwindows"); registerPlugin("desktopgrid"); diff --git a/effects/desktopgrid_config.cpp b/effects/desktopgrid_config.cpp index 38d0332144..2123dc3bd8 100644 --- a/effects/desktopgrid_config.cpp +++ b/effects/desktopgrid_config.cpp @@ -21,9 +21,9 @@ License. See the file "COPYING" for the exact licensing terms. #include #include - +#ifndef KDE_USE_FINAL KWIN_EFFECT_CONFIG_FACTORY - +#endif namespace KWin { diff --git a/effects/shadow_config.cpp b/effects/shadow_config.cpp index 8bc3dd2dbf..a19a9bfe03 100644 --- a/effects/shadow_config.cpp +++ b/effects/shadow_config.cpp @@ -21,7 +21,9 @@ License. See the file "COPYING" for the exact licensing terms. #include #include +#ifndef KDE_USE_FINAL KWIN_EFFECT_CONFIG_FACTORY +#endif namespace KWin {