From de6d57af434b4ad8dee12df6fc3d6b62f543b25c Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Mon, 18 Feb 2013 14:45:44 +0000 Subject: [PATCH] (qt) freespace fixes by rb07 from https://trac.transmissionbt.com/ticket/4076#comment:40 --- libtransmission/platform.c | 2 ++ qt/freespace-label.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libtransmission/platform.c b/libtransmission/platform.c index 33f15f83d..16d29cd16 100644 --- a/libtransmission/platform.c +++ b/libtransmission/platform.c @@ -895,8 +895,10 @@ tr_device_info_create (const char * path) info = tr_new0 (struct tr_device_info, 1); info->path = tr_strdup (path); +#ifndef WIN32 info->device = tr_strdup (getblkdev (path)); info->fstype = tr_strdup (getfstype (path)); +#endif return info; } diff --git a/qt/freespace-label.cc b/qt/freespace-label.cc index 816d37615..6432880dc 100644 --- a/qt/freespace-label.cc +++ b/qt/freespace-label.cc @@ -47,7 +47,7 @@ FreespaceLabel :: setPath (const QString& path) { if (myPath != path) { - setText (tr("Counting Free Space...")); + setText (tr("Calculating Free Space...")); myPath = path; onTimer (); } -- 2.40.0