mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
(trunk gtk) #3336 "gtk client confuses magnet links as files and tries to trash them" -- fixed
This commit is contained in:
parent
5e2a6f6c6a
commit
79ca1fb96a
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ gtr_object_ref_sink( gpointer object )
|
|||
int
|
||||
gtr_file_trash_or_remove( const char * filename )
|
||||
{
|
||||
if( filename && *filename )
|
||||
if( filename && g_file_test( filename, G_FILE_TEST_EXISTS ) )
|
||||
{
|
||||
gboolean trashed = FALSE;
|
||||
#ifdef HAVE_GIO
|
||||
|
|
Loading…
Reference in a new issue