mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(trunk qt) #2059: "Move source file to Trash" doesn't work
This commit is contained in:
parent
51a3b94ed1
commit
dddb6a121d
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ Options :: Options( Session& session, const Prefs& prefs, const QString& filenam
|
||||||
c->setChecked( prefs.getBool( Prefs :: START ) );
|
c->setChecked( prefs.getBool( Prefs :: START ) );
|
||||||
layout->addWidget( c, ++row, 0, 1, 2, Qt::AlignLeft );
|
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 ) );
|
c->setChecked( prefs.getBool( Prefs :: TRASH_ORIGINAL ) );
|
||||||
layout->addWidget( c, ++row, 0, 1, 2, Qt::AlignLeft );
|
layout->addWidget( c, ++row, 0, 1, 2, Qt::AlignLeft );
|
||||||
|
|
||||||
|
|
|
@ -539,7 +539,7 @@ PrefsDialog :: createTorrentsTab( )
|
||||||
|
|
||||||
hig->addWideControl( checkBoxNew( tr( "Display &options dialog" ), Prefs::OPTIONS_PROMPT ) );
|
hig->addWideControl( checkBoxNew( tr( "Display &options dialog" ), Prefs::OPTIONS_PROMPT ) );
|
||||||
hig->addWideControl( checkBoxNew( tr( "&Start when added" ), Prefs::START ) );
|
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 = myDestinationButton = new QPushButton;
|
||||||
b->setIcon( folderPixmap );
|
b->setIcon( folderPixmap );
|
||||||
|
|
Loading…
Reference in a new issue