(trunk qt) #2059: "Move source file to Trash" doesn't work

This commit is contained in:
Charles Kerr 2009-05-11 02:10:26 +00:00
parent 51a3b94ed1
commit dddb6a121d
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ Options :: Options( Session& session, const Prefs& prefs, const QString& filenam
c->setChecked( prefs.getBool( Prefs :: START ) );
layout->addWidget( c, ++row, 0, 1, 2, Qt::AlignLeft );
c = myTrashCheck = new QCheckBox( tr( "&Move source file to Trash" ) );
c = myTrashCheck = new QCheckBox( tr( "&Delete source file" ) );
c->setChecked( prefs.getBool( Prefs :: TRASH_ORIGINAL ) );
layout->addWidget( c, ++row, 0, 1, 2, Qt::AlignLeft );

View File

@ -539,7 +539,7 @@ PrefsDialog :: createTorrentsTab( )
hig->addWideControl( checkBoxNew( tr( "Display &options dialog" ), Prefs::OPTIONS_PROMPT ) );
hig->addWideControl( checkBoxNew( tr( "&Start when added" ), Prefs::START ) );
hig->addWideControl( checkBoxNew( tr( "Mo&ve source files to Trash" ), Prefs::TRASH_ORIGINAL ) );
hig->addWideControl( checkBoxNew( tr( "&Delete source files" ), Prefs::TRASH_ORIGINAL ) );
b = myDestinationButton = new QPushButton;
b->setIcon( folderPixmap );