]> granicus.if.org Git - transmission/commitdiff
(qt) freespace fixes by rb07 from https://trac.transmissionbt.com/ticket/4076#comment:40
authorJordan Lee <jordan@transmissionbt.com>
Mon, 18 Feb 2013 14:45:44 +0000 (14:45 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 18 Feb 2013 14:45:44 +0000 (14:45 +0000)
libtransmission/platform.c
qt/freespace-label.cc

index 33f15f83d37e262b5e0556b7544a255e6a57dbdd..16d29cd165c56536447ddbd2b533f8b9f3120a30 100644 (file)
@@ -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;
 }
index 816d376151874b41c49a8cde54aaf17c396fdfd0..6432880dc6f96f2ea916a30c297d031d337be0b5 100644 (file)
@@ -47,7 +47,7 @@ FreespaceLabel :: setPath (const QString& path)
 {
   if (myPath != path)
     {
-      setText (tr("<i>Counting Free Space...</i>"));
+      setText (tr("<i>Calculating Free Space...</i>"));
       myPath = path;
       onTimer ();
     }