Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34c4636e authored by Steffen Pankratz's avatar Steffen Pankratz
Browse files

- fixed possible null pointer access

parent 46c4f8be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -659,7 +659,7 @@ void MainWindow::SelectPartitionName(int index)

		partitionFileGroup->setTitle(title);

		if (!fileInfo.GetFilename().isEmpty())
		if (pitEntry && !fileInfo.GetFilename().isEmpty())
		{
			QString partitionFilename = pitEntry->GetFlashFilename();
			int lastPeriod = partitionFilename.lastIndexOf(QChar('.'));