don't crash checkinf file system support if no partition table is present
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1129264
This commit is contained in:
parent
aa065376b3
commit
f9c0fcd0b3
|
@ -1044,6 +1044,9 @@ void MainWindow::onPropertiesDevice(const QString&)
|
|||
|
||||
static QStringList checkSupportInNode(const PartitionNode* parent)
|
||||
{
|
||||
if (parent == NULL)
|
||||
return QStringList();
|
||||
|
||||
QStringList rval;
|
||||
|
||||
foreach(const PartitionNode* node, parent->children())
|
||||
|
|
Loading…
Reference in New Issue