[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [colord-kde] colord-kcm: Kelvin is not a graded scale
From: Daniel Nicoletti <dantti12 () gmail ! com>
Date: 2013-06-29 14:12:43
Message-ID: E1UsvtL-00045I-9I () scm ! kde ! org
[Download RAW message or body]
Git commit 7824a2ecd0942f33af0868f887e5e5bb75df7c98 by Daniel Nicoletti.
Committed on 29/06/2013 at 14:11.
Pushed by dantti into branch 'master'.
Kelvin is not a graded scale
RedHat Bug: 979520
M +3 -3 colord-kcm/Description.cpp
http://commits.kde.org/colord-kde/7824a2ecd0942f33af0868f887e5e5bb75df7c98
diff --git a/colord-kcm/Description.cpp b/colord-kcm/Description.cpp
index 1ab67b9..110fc59 100644
--- a/colord-kcm/Description.cpp
+++ b/colord-kcm/Description.cpp
@@ -155,11 +155,11 @@ void Description::setProfile(const QDBusObjectPath &objectPath, bool canRemovePr
QString temp;
uint temperature = profile.temperature();
if (fabs(temperature - 5000) < 10) {
- temp = QString::fromUtf8("%1 ēK (D50)").arg(QString::number(temperature));
+ temp = QString::fromUtf8("%1K (D50)").arg(QString::number(temperature));
} else if (fabs(temperature - 6500) < 10) {
- temp = QString::fromUtf8("%1 ēK (D65)").arg(QString::number(temperature));
+ temp = QString::fromUtf8("%1K (D65)").arg(QString::number(temperature));
} else {
- temp = QString::fromUtf8("%1 ēK").arg(QString::number(temperature));
+ temp = QString::fromUtf8("%1K").arg(QString::number(temperature));
}
ui->whitepointL->setText(temp);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic