(qt) freespace fixes by rb07 from https://trac.transmissionbt.com/ticket/4076#comment:40
This commit is contained in:
parent
bb0b5e139a
commit
de6d57af43
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue