[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 242680] KDevelop crashes when renaming files in project sidebar
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2010-08-31 0:12:07
Message-ID: 20100831001207.AE90C6375B () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=242680


Aleix Pol <aleixpol@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Aleix Pol <aleixpol kde org>  2010-08-31 02:12:00 ---
commit b82b0b5fab332d90b7dae3fcd68e3829c4700d7c
Author: Aleix Pol <aleixpol@kde.org>
Date:   Mon Aug 30 16:14:38 2010 +0200

    Prevent crash while renaming.

    BUG: 242680

diff --git a/projectmanagers/cmake/cmakemanager.cpp
b/projectmanagers/cmake/cmakemanager.cpp
index 17c43e6..03de133 100644
--- a/projectmanagers/cmake/cmakemanager.cpp
+++ b/projectmanagers/cmake/cmakemanager.cpp
@@ -1093,7 +1093,7 @@ bool followUses(KTextEditor::Document* doc, SimpleRange
r, const QString& name,

             Declaration* d=u.usedDeclaration(topctx);

-            if(d->context()->topContext()->url().toUrl()==lists)
+            if(d && d->context()->topContext()->url().toUrl()==lists)
                 decls += d;
         }

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic