[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/kdevelop/3.4/buildtools/qmake
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2007-01-19 14:28:27
Message-ID: 1169216907.319720.11923.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 625216 by apaku:
Fix removing a file from the subclassing information
M +1 -2 trollprojectwidget.cpp
--- branches/kdevelop/3.4/buildtools/qmake/trollprojectwidget.cpp #625215:625216
@@ -1811,7 +1811,6 @@
m_allFilesCache.clear();
QString realfilename = spitem->scope->resolveVariables( fitem->text( 0 ) );
- QString file = QString( spitem->scope->projectDir() + QString( QChar( \
QDir::separator() ) ) + realfilename.mid(1, realfilename.length()-2) ).remove( 0, \
projectDirectory().length() ); if ( KMessageBox::warningYesNo( this,
"<qt>" +
i18n( "Do you want to delete the file \
<strong>%1</strong> from the project and your disk?" ) @@ -1846,7 +1845,7 @@
DomUtil::PairList::iterator it;
for ( it = list.begin(); it != list.end(); ++it )
{
- if ( ( ( *it ).first == file ) || ( ( *it ).second == file ) )
+ if ( ( ( *it ).first == realfilename ) || ( ( *it ).second == realfilename ) \
) {
pairsToRemove.append( &( *it ) );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic