Refactoring

This commit is contained in:
bsongis
2014-05-27 15:17:39 +02:00
parent 5620a76679
commit fdde364307
11 changed files with 53 additions and 26 deletions
+2 -2
View File
@@ -134,8 +134,8 @@ bool MdiChild::hasSelection()
void MdiChild::updateTitle()
{
QString title = userFriendlyCurrentFile() + "[*]"+" ("+GetEepromInterface()->getName()+QString(")");
if (!IS_SKY9X(GetEepromInterface()->getBoard()))
QString title = userFriendlyCurrentFile() + "[*]" + " (" + GetCurrentFirmware()->getName() + QString(")");
if (!IS_SKY9X(GetCurrentFirmware()->getBoard()))
title += QString(" - %1 ").arg(EEPromAvail) + tr("free bytes");
setWindowTitle(title);
}