[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdevplatform/plugins/projectmanagerview
From: Aleix Pol Gonzalez <aleixpol () gmail ! com>
Date: 2009-07-10 11:52:51
Message-ID: 1247226771.635008.6083.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 994219 by apol:
Properly detect check project.
M +1 -6 projectbuildsetmodel.cpp
--- trunk/KDE/kdevplatform/plugins/projectmanagerview/projectbuildsetmodel.cpp #994218:994219
@@ -194,12 +194,7 @@
{
for( int i = m_items.count() - 1; i >= 0; i-- )
{
-#if QT_VERSION >= 0x040500
- if( m_items.at(i).itemPath().startsWith(project->name()+"/") )
-#else
- if( !m_items.at(i).itemPath().isEmpty() &&
- m_items.at(i).itemPath().first() == QString(project->name()+"/") )
-#endif
+ if( m_items.at(i).itemProject() == project->name())
{
beginRemoveRows( QModelIndex(), i, i );
m_items.removeAt(i);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic