Changeset 10516


Ignore:
Timestamp:
Apr 23, 2010, 5:58:04 AM (8 years ago)
Author:
charles
Message:

(trunk qt) #2935 "Changing the 'Keep incomplete files in' Directory" -- fixed in trunk for 2.00

Location:
trunk/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/prefs-dialog.cc

    r10065 r10516  
    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;
  • trunk/qt/prefs-dialog.h

    r9868 r10516  
    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.