Properly save new fstab entries.
This commit is contained in:
parent
bc5ee156f3
commit
d25523e43a
|
@ -74,8 +74,8 @@ EditMountPointDialogWidget::EditMountPointDialogWidget(QWidget* parent, const Pa
|
|||
fsName = partition().fileSystem().name();
|
||||
}
|
||||
|
||||
entry = new FstabEntry(m_deviceNode, QString(), fsName, QString());
|
||||
m_fstabEntries.append(*entry);
|
||||
m_fstabEntries.append(FstabEntry(m_deviceNode, QString(), fsName, QString()));
|
||||
entry = &m_fstabEntries.last();
|
||||
}
|
||||
|
||||
editPath().setText(entry->mountPoint());
|
||||
|
|
Loading…
Reference in New Issue