Changeset 14174


Ignore:
Timestamp:
Aug 24, 2013, 7:19:45 PM (8 years ago)
Author:
jordan
Message:

when adding by filename, take local file separators into account

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/add-data.cc

    r14150 r14174  
    1212
    1313#include <QFile>
     14#include <QDir>
    1415
    1516#include <libtransmission/transmission.h>
     
    3435    else if( QFile(key).exists( ) )
    3536    {
    36         filename = key;
     37        filename = QDir::fromNativeSeparators( key );
    3738        type = FILENAME;
    3839
Note: See TracChangeset for help on using the changeset viewer.