summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installbl.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-07-31 19:11:44 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-07-31 19:11:44 +0000
commit5df9fc5c4086f8349d41c3c3f6d57050b0fdce40 (patch)
tree69a7e44c92295f74a5652b820f1138d9a4d7edc0 /rbutil/rbutilqt/installbl.cpp
parentc3a72f1b0a90436b92d68a8da2c2544dc4d581ad (diff)
downloadrockbox-5df9fc5c4086f8349d41c3c3f6d57050b0fdce40.tar.gz
rockbox-5df9fc5c4086f8349d41c3c3f6d57050b0fdce40.tar.bz2
rockbox-5df9fc5c4086f8349d41c3c3f6d57050b0fdce40.zip
rbutilQt: the progressloggergui now uses little icons along the text.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14105 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/installbl.cpp')
-rw-r--r--rbutil/rbutilqt/installbl.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/installbl.cpp b/rbutil/rbutilqt/installbl.cpp
index 3eaf9afdaf..627fa961b6 100644
--- a/rbutil/rbutilqt/installbl.cpp
+++ b/rbutil/rbutilqt/installbl.cpp
@@ -98,7 +98,7 @@ void InstallBl::accept()
userSettings->setValue("defaults/mountpoint", mountPoint);
}
else {
- logger->addItem(tr("Mount point is wrong!"));
+ logger->addItem(tr("Mount point is wrong!"),LOGERROR);
logger->abort();
return;
}
@@ -107,9 +107,9 @@ void InstallBl::accept()
{
m_OrigFirmware = ui.lineOriginalFirmware->text();
}
- else
+ else if(needextrafile)
{
- logger->addItem(tr("Original Firmware Path is wrong!"));
+ logger->addItem(tr("Original Firmware Path is wrong!"),LOGERROR);
logger->abort();
return;
}
@@ -160,12 +160,14 @@ void InstallBl::setDeviceSettings(QSettings *dev)
ui.buttonBrowseOF->show();
ui.lineOriginalFirmware->show();
ui.label_3->show();
+ needextrafile = true;
}
else
{
ui.buttonBrowseOF->hide();
ui.lineOriginalFirmware->hide();
ui.label_3->hide();
+ needextrafile = false;
}
qDebug() << "Install::setDeviceSettings:" << devices;
}