Commit 0e3d727a authored by Joris Guisson's avatar Joris Guisson
Browse files

Backport rev 977951 and fix bug causing plasma applet not to display big sizes properly

BUG: 196396

svn path=/branches/stable/extragear-kde4/network/ktorrent/; revision=981812
parent 3131557c
Changes in 3.2.3:
- Make sure View gets focus back when you are finished editing the name of a torrent
- Fix bug causing sizes > 4GB not being displayed properly plasma applet
Changes in 3.2.2 :
- Fix crash when changing speed limits using system tray menu (188447)
- Fix bug with displaying directory trees in infowidget FileView
......
......@@ -503,6 +503,7 @@ namespace kt
{
QTreeView::closeEditor(editor,hint);
editingItem(false);
setFocus();
}
bool View::edit(const QModelIndex & index,EditTrigger trigger,QEvent* event)
......
......@@ -278,9 +278,9 @@ namespace ktplasma
{
double ds = data.value("download_rate").toDouble();
double us = data.value("upload_rate").toDouble();
int uploaded = data.value("bytes_uploaded").toInt();
int downloaded = data.value("bytes_downloaded").toInt();
int size = data.value("total_bytes_to_download").toInt();
qlonglong uploaded = data.value("bytes_uploaded").toLongLong();
qlonglong downloaded = data.value("bytes_downloaded").toLongLong();
qlonglong size = data.value("total_bytes_to_download").toLongLong();
int st = data.value("seeders_total").toInt();
int sc = data.value("seeders_connected_to").toInt();
int ct = data.value("leechers_total").toInt();
......
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