summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-07-01 15:02:32 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-07-01 15:02:32 +0200
commite7fdf80c175c9dd6a86fbe29556ac6ef7bd8ed29 (patch)
tree5a7ca6941bfbca9a9ce9cd171690fa39533bad3e /rbutil/rbutilqt/rbutilqt.cpp
parentb7931594f9b9a55ba58b4087ab08a4e820e66e7b (diff)
downloadrockbox-e7fdf80c175c9dd6a86fbe29556ac6ef7bd8ed29.tar.gz
rockbox-e7fdf80c175c9dd6a86fbe29556ac6ef7bd8ed29.tar.bz2
rockbox-e7fdf80c175c9dd6a86fbe29556ac6ef7bd8ed29.zip
Do some minor cleanup.
- Move a GUI-only implementation class around. - Make some strings non-translatable which don't make sense translating. - Rename internal state in installation class. There is no current build anymore. Change-Id: I7384c5601de36bc48f858fe5c7b009653d439d94
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 76c8497a5b..62a4f583f7 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -353,14 +353,14 @@ void RbUtilQt::updateDevice()
QString name
= QString("%1 (%2)").arg(SystemInfo::value(SystemInfo::CurName).toString(),
ServerInfo::value(ServerInfo::CurStatus).toString());
- ui.labelDevice->setText(tr("<b>%1 %2</b>").arg(brand, name));
+ ui.labelDevice->setText(QString("<b>%1 %2</b>").arg(brand, name));
QString mountpoint = RbSettings::value(RbSettings::Mountpoint).toString();
QString mountdisplay = QDir::toNativeSeparators(mountpoint);
if(!mountdisplay.isEmpty()) {
QString label = Utils::filesystemName(mountpoint);
if(!label.isEmpty()) mountdisplay += QString(" (%1)").arg(label);
- ui.labelMountpoint->setText(tr("<b>%1</b>").arg(mountdisplay));
+ ui.labelMountpoint->setText(QString("<b>%1</b>").arg(mountdisplay));
}
else {
mountdisplay = "(unknown)";