Changeset 10571


Ignore:
Timestamp:
May 1, 2010, 3:56:41 AM (11 years ago)
Author:
charles
Message:

(1.9x qt) backport r10516 for #2935 "qt client's prefs dialog doesn't let you set the Incomplete directory"

Location:
branches/1.9x/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.9x/qt/prefs-dialog.cc

    r10065 r10571  
    569569        hig->addWideControl( checkBoxNew( tr( "Append \".&part\" to incomplete files' names" ), Prefs::RENAME_PARTIAL_FILES ) );
    570570
     571        myIncompleteCheckbox = checkBoxNew( tr( "Keep &incomplete files in:" ), Prefs::INCOMPLETE_DIR_ENABLED );
    571572        b = myIncompleteButton = new QPushButton;
    572573        b->setIcon( folderPixmap );
    573574        b->setStyleSheet( "text-align: left; padding-left: 5; padding-right: 5" );
    574         connect( b, SIGNAL(clicked(bool)), this, SLOT(onDestinationClicked(void)) );
    575         hig->addRow( tr( "Keep &incomplete files in:" ), b );
     575        connect( b, SIGNAL(clicked(bool)), this, SLOT(onIncompleteClicked(void)) );
     576        hig->addRow( myIncompleteCheckbox, b );
    576577
    577578        b = myDestinationButton = new QPushButton;
  • branches/1.9x/qt/prefs-dialog.h

    r9868 r10571  
    9797        QPushButton * myPortButton;
    9898        QPushButton * myWatchButton;
     99        QCheckBox * myIncompleteCheckbox;
    99100        QPushButton * myIncompleteButton;
    100101        QPushButton * myDestinationButton;
Note: See TracChangeset for help on using the changeset viewer.