ui: removed compilation database option as project type

This commit is contained in:
Eberhard Graether
2016-02-23 16:04:46 +01:00
parent 8633201350
commit f0178fb3c6
7 changed files with 74 additions and 139 deletions
@@ -262,10 +262,15 @@ void QtDirectoryListBox::removeListBoxItem()
return;
}
int rowIndex = m_list->row(m_list->selectedItems().first()) - 1;
int rowIndex = m_list->row(m_list->selectedItems().first());
qDeleteAll(m_list->selectedItems());
if (rowIndex == m_list->count())
{
rowIndex -= 1;
}
resize();
if (rowIndex >= 0)