mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(qt) freespace fixes by rb07 from https://trac.transmissionbt.com/ticket/4076#comment:40
This commit is contained in:
@@ -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 ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user