GUI: Fix bug mixing include and ignore dirs in GUI.

This commit is contained in:
Kimmo Varis 2011-02-28 16:18:16 +02:00
parent 6fc90d1f18
commit fb74da7fbf
1 changed files with 2 additions and 2 deletions

View File

@ -126,11 +126,11 @@ QStringList ProjectFileDialog::GetPaths() const
QStringList ProjectFileDialog::GetIgnorePaths() const
{
const int count = mUI.mListIncludeDirs->count();
const int count = mUI.mListIgnoredPaths->count();
QStringList paths;
for (int i = 0; i < count; i++)
{
QListWidgetItem *item = mUI.mListIncludeDirs->item(i);
QListWidgetItem *item = mUI.mListIgnoredPaths->item(i);
paths << item->text();
}
return paths;