Ignore:
Timestamp:
Aug 4, 2010, 1:56:51 PM (12 years ago)
Author:
charles
Message:

(2.0x qt) #3481 "crash when accessing a remote session that's password protected" -- fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/qt/session.h

    r10769 r11108  
    3232
    3333class Prefs;
    34 
    35 struct Reply
    36 {
    37     QNetworkReply * networkReply;
    38     QBuffer * buffer;
    39 };
    40 typedef QList<Reply> ReplyList;
    4134
    4235class Session: public QObject
     
    9588        static void updateStats( struct tr_benc * d, struct tr_session_stats * stats );
    9689        void refreshTorrents( const QSet<int>& torrentIds );
     90        QNetworkAccessManager * networkAccessManager( );
    9791
    9892    public:
     
    147141        QString mySessionId;
    148142        QUrl myUrl;
    149         QNetworkAccessManager myNAM;
    150         ReplyList myReplies;
     143        QNetworkAccessManager * myNAM;
    151144        struct tr_session_stats myStats;
    152145        struct tr_session_stats myCumulativeStats;
Note: See TracChangeset for help on using the changeset viewer.