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

List:       kdevelop-bugs
Subject:    [Bug 128839] KDevelop Crash with Make Target Active on Automake
From:       Matt Rogers <mattr () kde ! org>
Date:       2006-06-15 23:45:13
Message-ID: 20060615234513.31856.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=128839         
mattr kde org changed:

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



------- Additional Comments From mattr kde org  2006-06-16 01:45 -------
SVN commit 551916 by mattr:

apply the patch from bug #128839 to fix that bug.
Thanks for the patch!

BUG: 128839



 M  +4 -1      autodetailsview.cpp  


--- branches/kdevelop/3.4/buildtools/autotools/autodetailsview.cpp #551915:551916
 @ -679,7 +679,10  @
 	TargetItem * titem = static_cast<TargetItem*>( m_listView->selectedItem() );
 	if ( !titem ) return ;
 
-	QString targetPath = m_widget->selectedSubproject()->path + "/" + titem->name;
+       SubprojectItem * subpitem = m_widget->selectedSubproject();
+       if ( !subpitem ) return;
+
+	QString targetPath = subpitem->path + "/" + titem->name;
 	targetPath = targetPath.mid( m_part->projectDirectory().length() + 1 );
 	kdDebug( 9020 ) << "Setting active " << targetPath << endl;
 	m_widget->setActiveTarget( targetPath );


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

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