Summary: | QMake manager cannot delete subproject after subproject type change | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Ivan Vasic <ivasic> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ivan Vasic
2007-01-18 16:27:02 UTC
SVN commit 624977 by apaku: Who said I wouldn't commit to 3.4 anymore :) Make it possible to delete subprojects when the parent project was changed from subdirs to app/lib template BUG:140253 M +1 -1 scope.cpp --- branches/kdevelop/3.4/buildtools/qmake/scope.cpp #624976:624977 @@ -639,7 +639,7 @@ if ( it != m_root->m_children.end() ) { QMake::AssignmentAST * tempast = static_cast<QMake::AssignmentAST*>( *it ); - if ( tempast->values.findIndex( "subdirs" ) != -1 ) + if ( tempast->values.findIndex( "subdirs" ) != -1 || findExistingVariable( "TEMPLATE" ) != m_root->m_children.end() ) { Scope* project = m_scopes[ num ]; if( !project ) |