mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Add extra error checking into VirtualFileDialog
This commit is contained in:
@@ -161,6 +161,12 @@ public:
|
||||
FSNode *node = getNode(ret);
|
||||
populate(node);
|
||||
|
||||
if(!node)
|
||||
{
|
||||
qCritical() << "Error getting node at" << QString(normPath) << "from" << path;
|
||||
return QModelIndex();
|
||||
}
|
||||
|
||||
for(int i = 0; i < node->children.count(); i++)
|
||||
{
|
||||
if(QString(node->children[i]->file.filename)
|
||||
|
||||
Reference in New Issue
Block a user