|
|
@ -1172,7 +1172,7 @@ void TrollProjectWidget::addFiles( TQStringList &files, bool relativeToProjectRo
|
|
|
|
|
|
|
|
|
|
|
|
if ( m_shownSubproject->scope->variableValues( "TEMPLATE" ).findIndex( "subdirs" ) != -1 && !fileName.endsWith(".pro") )
|
|
|
|
if ( m_shownSubproject->scope->variableValues( "TEMPLATE" ).findIndex( "subdirs" ) != -1 && !fileName.endsWith(".pro") )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ChooseSubprojectDlg dlg( this, false );
|
|
|
|
ChooseSubprojectDlg dlg( this, 0 );
|
|
|
|
if ( dlg.exec() == TQDialog::Accepted )
|
|
|
|
if ( dlg.exec() == TQDialog::Accepted )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if ( dlg.selectedSubproject() && dlg.selectedSubproject()->scope->variableValues("TEMPLATE").findIndex( "subdirs" ) != -1 )
|
|
|
|
if ( dlg.selectedSubproject() && dlg.selectedSubproject()->scope->variableValues("TEMPLATE").findIndex( "subdirs" ) != -1 )
|
|
|
|