Changeset 13555 for trunk/qt/options.cc


Ignore:
Timestamp:
Oct 8, 2012, 4:23:39 AM (10 years ago)
Author:
jordan
Message:

(trunk qt) #5059 'Memory leak in the TrMainWindow? :: openTorrent' -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/options.cc

    r13447 r13555  
    421421                                           tr( "Torrent Files (*.torrent);;All Files (*.*)" ) );
    422422        d->setFileMode( QFileDialog::ExistingFile );
     423        d->setAttribute( Qt::WA_DeleteOnClose );
    423424        connect( d, SIGNAL(filesSelected(const QStringList&)), this, SLOT(onFilesSelected(const QStringList&)) );
    424425        d->show( );
     
    444445                                       myDestination.absolutePath( ) );
    445446    d->setFileMode( QFileDialog::Directory );
     447    d->setAttribute( Qt::WA_DeleteOnClose );
    446448    connect( d, SIGNAL(filesSelected(const QStringList&)), this, SLOT(onDestinationsSelected(const QStringList&)) );
    447449    d->show( );
Note: See TracChangeset for help on using the changeset viewer.