Changeset 13777


Ignore:
Timestamp:
Jan 5, 2013, 10:53:52 PM (8 years ago)
Author:
jordan
Message:

(2.7x qt) backport r13686 for #5192

Location:
branches/2.7x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7x/NEWS

    r13775 r13777  
    1818  * Fix cursor point bug in the filterbar's entry field
    1919  * Fix crash when adding a magnet link while Transmission was only visible in the system tray
     20  * Fix free-memory-read error on shutdown
    2021==== Daemon ====
    2122  * Better watchdir support
  • branches/2.7x/qt/prefs.cc

    r13448 r13777  
    221221                break;
    222222            case QVariant::String:
    223                 {   const char * s = val.toByteArray().constData();
     223                {
     224                    const QByteArray ba (val.toByteArray());
     225                    const char * s = ba.constData();
    224226                    if ( Utils::isValidUtf8( s ) )
    225227                        tr_bencDictAddStr( &top, key, s );
Note: See TracChangeset for help on using the changeset viewer.