summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/applications/ktorrent/ktorrent-fix-KBytesPerSecToString.diff
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 12:06:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 12:08:16 +0900
commit7857b50140791f60497ab7e8994af3f4377cc387 (patch)
treeb082efee082671ae737d54b04f03aa7a179a9302 /mandriva/2010.2/applications/ktorrent/ktorrent-fix-KBytesPerSecToString.diff
parentd52fb29b2d29090cef37a86648aefff37d54feb2 (diff)
downloadtde-packaging-7857b50140791f60497ab7e8994af3f4377cc387.tar.gz
tde-packaging-7857b50140791f60497ab7e8994af3f4377cc387.zip
Removed obsolete Mandriva 2010 packaging files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 40be1ebef7a688235d4730561908a02f10505385)
Diffstat (limited to 'mandriva/2010.2/applications/ktorrent/ktorrent-fix-KBytesPerSecToString.diff')
-rw-r--r--mandriva/2010.2/applications/ktorrent/ktorrent-fix-KBytesPerSecToString.diff15
1 files changed, 0 insertions, 15 deletions
diff --git a/mandriva/2010.2/applications/ktorrent/ktorrent-fix-KBytesPerSecToString.diff b/mandriva/2010.2/applications/ktorrent/ktorrent-fix-KBytesPerSecToString.diff
deleted file mode 100644
index cdd85d4ec..000000000
--- a/mandriva/2010.2/applications/ktorrent/ktorrent-fix-KBytesPerSecToString.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- libktorrent/interfaces/functions.cpp.orig 2006-05-21 00:06:28.000000000 +0200
-+++ libktorrent/interfaces/functions.cpp 2006-05-21 00:06:54.000000000 +0200
-@@ -46,7 +46,11 @@
- QString KBytesPerSecToString(double speed,int precision)
- {
- KLocale* loc = KGlobal::locale();
-- return i18n("%1 KB/s").arg(loc->formatNumber(speed,precision));
-+ QString tmp = loc->formatNumber(speed,precision);
-+ if (tmp.startsWith("inf"))
-+ return i18n("%1 KB/sec").arg("> 0.0");
-+ else
-+ return i18n("%1 KB/sec").arg(tmp);
- }
-
- QString DurationToString(Uint32 nsecs)