Changeset 11824


Ignore:
Timestamp:
Feb 3, 2011, 10:13:31 PM (11 years ago)
Author:
jordan
Message:

(trunk qt) in the "new torrent" dialog, have the "save to" and "source folder" file dialogs be QFileDialog::DirectoryOnly? rather than QFileDialog::Directory

File:
1 edited

Legend:

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

    r11098 r11824  
    193193{
    194194    QFileDialog * d = new QFileDialog( this, tr( "Select Folder" ) );
    195     d->setFileMode( QFileDialog::Directory );
     195    d->setFileMode( QFileDialog::DirectoryOnly );
    196196    connect( d, SIGNAL(filesSelected(const QStringList&)),
    197197             this, SLOT(onFolderSelected(const QStringList&)) );
     
    216216{
    217217    QFileDialog * d = new QFileDialog( this, tr( "Select Folder" ) );
    218     d->setFileMode( QFileDialog::Directory );
     218    d->setFileMode( QFileDialog::DirectoryOnly );
    219219    connect( d, SIGNAL(filesSelected(const QStringList&)),
    220220             this, SLOT(onDestinationSelected(const QStringList&)) );
Note: See TracChangeset for help on using the changeset viewer.