Remove an extra pair of brackets.

This commit is contained in:
Andrius Štikonas 2020-09-14 00:46:02 +01:00
parent 89dcf7855c
commit 62e330b0f9
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ void EditMountPointDialogWidget::removeMountPoint()
fstabEntries().erase(it);
partition().setMountPoint(QString());
}
else if (editPath().count() > 1 && ((&*it == currentEntry)))
else if (editPath().count() > 1 && (&*it == currentEntry))
{
fstabEntries().erase(it);
editPath().removeItem(editPath().currentIndex());