[companion] Remove no longer relevant EEPROM size column heading (#1381)

This commit is contained in:
Neil Horne
2022-01-08 11:01:09 +10:00
committed by GitHub
parent 5defeeedf4
commit 5aa866acc2
3 changed files with 6 additions and 46 deletions
-4
View File
@@ -697,10 +697,6 @@ QVector<int> MdiChild::getSelectedModels() const
void MdiChild::updateTitle()
{
QString title = "[*]" + userFriendlyCurrentFile(); // + " (" + firmware->getName() + QString(")");
int availableEEpromSize = modelsListModel->getAvailableEEpromSize();
if (availableEEpromSize >= 0) {
title += QString(" - %1 ").arg(availableEEpromSize) + tr("free bytes");
}
QFileInfo fi(curFile);
if (!isUntitled && !fi.isWritable()) {
title += QString(" (%1)").arg(tr("read only"));