summaryrefslogtreecommitdiffstats
path: root/kplato/kptdurationwidget.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptdurationwidget.ui.h')
-rw-r--r--kplato/kptdurationwidget.ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kptdurationwidget.ui.h b/kplato/kptdurationwidget.ui.h
index 2bf5b033..4380c92e 100644
--- a/kplato/kptdurationwidget.ui.h
+++ b/kplato/kptdurationwidget.ui.h
@@ -321,7 +321,7 @@ void DurationWidget::handleLostFocus(
v = v - (tmp.toUInt() * leftScale);
newValue = KGlobal::locale()->formatNumber(v);
}
- int point = newValue.tqfind(m_decimalPoint);
+ int point = newValue.find(m_decimalPoint);
if (point != -1)
{
//HACK doubles may be rounded(at fractions > 6 digits on my system)
@@ -437,7 +437,7 @@ double DurationWidget::power(double m, int e) {
}
double DurationWidget::fraction(TQString number, int *exp) {
- int point = number.tqfind(m_decimalPoint);
+ int point = number.find(m_decimalPoint);
if (point == -1) {
return 0.0;
}