Commit 5570502c authored by Thomas Eschenbacher's avatar Thomas Eschenbacher
Browse files

bugfix: wrong tooltip translation for selection range (and other times)

parent b07b5249
......@@ -4,6 +4,7 @@
* introduced Kwave::URLfromUserInput to work around problems with QUrl
misinterpreting file names in cmdline parameters as http:// URLs
* fixed deprecation warnings: QRecursiveMutex, KPluginFactory
* bugfix: wrong tooltip translation for selection range (and other times)
20.08.01 [2020-08-31]
......
......@@ -118,11 +118,12 @@ QString Kwave::ms2hms(double ms)
return i18nc(
"time of label tooltip, %1=hour, %2=minute, %3=second, %4=milliseconds",
"%1:%2:%3.%4").
arg( h, 2, 10, QLatin1Char('0')).
arg( m, 2, 10, QLatin1Char('0')).
arg( s, 2, 10, QLatin1Char('0')).
arg(tms, 4, 10, QLatin1Char('0'));
"%1:%2:%3.%4",
QString::asprintf("%02u", h),
QString::asprintf("%02u", m),
QString::asprintf("%02u", s),
QString::asprintf("%04u", tms)
);
}
//***************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment