diff options
author | François Andriot <francois.andriot@free.fr> | 2021-02-28 00:15:56 +0000 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-05-12 22:27:27 +0200 |
commit | ba5f58bf38a62eb83990951168951274c96a8e24 (patch) | |
tree | 6eee557d0117e4f5667cef37f9cc5acc5b084c21 /parts/classview/classviewpart.cpp | |
parent | 34649195bfef57a2d3f4d34bcfbf2d4252dac465 (diff) | |
download | tdevelop-ba5f58bf38a62eb83990951168951274c96a8e24.tar.gz tdevelop-ba5f58bf38a62eb83990951168951274c96a8e24.zip |
Fix ftbfs on Fedora 34
error: reference to ‘data’ is ambiguous
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'parts/classview/classviewpart.cpp')
-rw-r--r-- | parts/classview/classviewpart.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/classview/classviewpart.cpp b/parts/classview/classviewpart.cpp index 92e26bd0..d068adaa 100644 --- a/parts/classview/classviewpart.cpp +++ b/parts/classview/classviewpart.cpp @@ -139,12 +139,12 @@ class FunctionCompletion : public CustomCompleter { typedef KDevGenericFactory<ClassViewPart> ClassViewFactory; -static const KDevPluginInfo data("kdevclassview"); -K_EXPORT_COMPONENT_FACTORY( libkdevclassview, ClassViewFactory( data ) ) +static const KDevPluginInfo pluginData("kdevclassview"); +K_EXPORT_COMPONENT_FACTORY( libkdevclassview, ClassViewFactory( pluginData ) ) ClassViewPart::ClassViewPart(TQObject *parent, const char *name, const TQStringList& ) - :/// KDevPlugin( &data, parent, name ? name : "ClassViewPart" ), - KDevCodeBrowserFrontend( &data, parent, name ? name : "ClassViewPart" ), + :/// KDevPlugin( &pluginData, parent, name ? name : "ClassViewPart" ), + KDevCodeBrowserFrontend( &pluginData, parent, name ? name : "ClassViewPart" ), m_activeDocument(0), m_activeView(0), m_activeSelection(0), m_activeEditor(0), m_activeViewCursor(0), m_hierarchyDlg(0) { setInstance(ClassViewFactory::instance()); |