2498: patches for kdevplatform, kdevelop and kdevgit for mingw64

artur******@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 27, 2012
Few patches for mingw64 kdevplatform, kdevelop and kdevgit plugin for work
From a43214e2374deae0e3009f7a38da6258aa73ce0b Mon Sep 17 00:00:00 2001
From: Artur on windows <artur@ebasoft.com.pl>
Date: Sun, 26 Feb 2012 22:01:42 +0100
Subject: [PATCH 46/47] long long mingw64
---
 languages/cpp/cppduchain/tests/test_duchain.cpp    |    2 +-
 .../cpp/cppduchain/tests/test_expressionparser.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/languages/cpp/cppduchain/tests/test_duchain.cpp b/languages/cpp/cppduchain/tests/test_duchain.cpp
index 02ed83e..002e1fa 100644
--- a/languages/cpp/cppduchain/tests/test_duchain.cpp
+++ b/languages/cpp/cppduchain/tests/test_duchain.cpp
@@ -125,7 +125,7 @@ namespace QTest {
   template<>
   char* toString(const Declaration& def)
   {
-    QString s = QString("Declaration %1 (%2): %3").arg(def.identifier().toString()).arg(def.qualifiedIdentifier().toString()).arg(reinterpret_cast<long>(&def));
+    QString s = QString("Declaration %1 (%2): %3").arg(def.identifier().toString()).arg(def.qualifiedIdentifier()
#1 artur******@gmai***** (Google Code) (Is this you? Claim this profile.)
missing patch sorry
  • +
    From 0a8cc6046c23d9aacc0d9da6b2c8aa05a45042de Mon Sep 17 00:00:00 2001
    From: Artur on windows <artur@ebasoft.com.pl>
    Date: Mon, 27 Feb 2012 03:20:30 +0100
    Subject: [PATCH 2/2] git review crash on mingw64
    --
    diff --git a/plugins/patchreview/patchreview.cpp b/plugins/patchreview/patchreview.cpp
    index 5d8d0e2..fbed537 100644
    --- a/plugins/patchreview/patchreview.cpp
    +++ b/plugins/patchreview/patchreview.cpp
    @@ -1385,9 +1385,13 @@ void PatchReviewPlugin::updateReview() {
         futureActiveDoc->textDocument()->setReadWrite( false );
         futureActiveDoc->setPrettyName( i18n( "Overview" ) );
         IDocument* doc = ICore::self()->documentController()->documentForUrl( m_patch->file() );
    -    KTextEditor::ModificationInterface* modif = dynamic_cast<KTextEditor::ModificationInterface*>( doc->textDocument() );
    -    modif->setModifiedOnDiskWarning( false );
    -
    +    if( doc )
    +      {
    +      KTextEditor::ModificationInterface* modif = dynamic_cast<KTextEditor::ModificationInterface*>( doc->textDocumen
david
#2 david
This bug tracker is for the Review Board code review tool, not KDE.
  • +Invalid