GUI: Fix bug mixing include and ignore dirs in GUI.
This commit is contained in:
parent
6fc90d1f18
commit
fb74da7fbf
|
@ -126,11 +126,11 @@ QStringList ProjectFileDialog::GetPaths() const
|
||||||
|
|
||||||
QStringList ProjectFileDialog::GetIgnorePaths() const
|
QStringList ProjectFileDialog::GetIgnorePaths() const
|
||||||
{
|
{
|
||||||
const int count = mUI.mListIncludeDirs->count();
|
const int count = mUI.mListIgnoredPaths->count();
|
||||||
QStringList paths;
|
QStringList paths;
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
QListWidgetItem *item = mUI.mListIncludeDirs->item(i);
|
QListWidgetItem *item = mUI.mListIgnoredPaths->item(i);
|
||||||
paths << item->text();
|
paths << item->text();
|
||||||
}
|
}
|
||||||
return paths;
|
return paths;
|
||||||
|
|
Loading…
Reference in New Issue