Changes between Version 3 and Version 4 of BuildingTransmissionQtWindows/transmission-2.03-Qt-build.diff


Ignore:
Timestamp:
Jul 26, 2010, 12:55:48 AM (12 years ago)
Author:
rb07
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingTransmissionQtWindows/transmission-2.03-Qt-build.diff

    v3 v4  
    896896 bool
    897897-TrDBusAdaptor :: AddMetainfo( const QString& payload, const QString& filename )
    898 +TrDBusAdaptor :: AddMetainfo( const QString& filename )
     898+TrDBusAdaptor :: AddMetainfo( const QString& file_or_magnet )
    899899 {
    900900-    myApp->addTorrent( QFile(filename).exists() ? filename : payload );
    901 +    if ( QFile(filename).exists() )
    902 +        myApp->addTorrent( filename );
     901+        myApp->addTorrent( file_or_magnet );
    903902     return true;
    904903 }