diff options
Diffstat (limited to 'dev-util/kdevelop/files/kdevelop-5.0.0-fix-cpp.patch')
-rw-r--r-- | dev-util/kdevelop/files/kdevelop-5.0.0-fix-cpp.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/dev-util/kdevelop/files/kdevelop-5.0.0-fix-cpp.patch b/dev-util/kdevelop/files/kdevelop-5.0.0-fix-cpp.patch deleted file mode 100644 index 9b15fe954825..000000000000 --- a/dev-util/kdevelop/files/kdevelop-5.0.0-fix-cpp.patch +++ /dev/null @@ -1,47 +0,0 @@ -From: Milian Wolff <mail@milianw.de> -Date: Mon, 22 Aug 2016 10:47:26 +0000 -Subject: Fix compile -X-Git-Url: http://quickgit.kde.org/?p=kdevelop.git&a=commitdiff&h=f4b5b7538be64328cf8462ee438caaac6c0907aa ---- -Fix compile - -BUG: 367659 ---- - - ---- a/languages/cpp/cppduchain/cppducontext.cpp -+++ b/languages/cpp/cppduchain/cppducontext.cpp -@@ -39,7 +39,8 @@ - REGISTER_DUCHAIN_ITEM_WITH_DATA(CppNormalDUContext, DUContextData); - - template<> --QWidget* CppDUContext<TopDUContext>::createNavigationWidget( Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix ) const { -+QWidget* CppDUContext<TopDUContext>::createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix, -+ AbstractNavigationWidget::DisplayHints /*hints*/) const { - if( decl == 0 ) { - Path path( url().str() ); - IncludeItem i; -@@ -55,7 +56,8 @@ - } - - template<> --QWidget* CppDUContext<DUContext>::createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix) const { -+QWidget* CppDUContext<DUContext>::createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix, -+ AbstractNavigationWidget::DisplayHints /*hints*/) const { - if( decl == 0 ) { - if( owner() ) - return new NavigationWidget( DeclarationPointer(owner()), TopDUContextPointer(topContext ? topContext : this->topContext()), htmlPrefix, htmlSuffix ); - ---- a/languages/cpp/cppduchain/cppducontext.h -+++ b/languages/cpp/cppduchain/cppducontext.h -@@ -652,7 +652,8 @@ - return instantiateDeclarationAndContext( surroundingContext, source, this, info, 0, 0 ); - } - -- virtual QWidget* createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix) const override; -+ virtual QWidget* createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix, -+ KDevelop::AbstractNavigationWidget::DisplayHints hints = KDevelop::AbstractNavigationWidget::NoHints) const override; - - enum { - Identity = BaseContext::Identity + 50 - |