Remove non-directory expansion

This commit is contained in:
Lost Robot
2023-06-01 12:31:00 -05:00
committed by Kevin Zander
parent b322f8022e
commit 8a07328a93

View File

@@ -235,10 +235,6 @@ void FileBrowser::expandItems( QTreeWidgetItem * item, QList<QString> expandedDi
for (int i = 0; i < numChildren; ++i)
{
QTreeWidgetItem * it = item ? item->child( i ) : m_fileBrowserTreeWidget->topLevelItem(i);
if ( m_recurse )
{
it->setExpanded( true );
}
auto d = dynamic_cast<Directory*>(it);
if (d)
{
@@ -1282,4 +1278,4 @@ QString FileItem::extension(const QString & file )
}
} // namespace lmms::gui
} // namespace lmms::gui