examples/network/torrent/addtorrentdialog.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    68 
    68 
    69     connect(ui.browseTorrents, SIGNAL(clicked()),
    69     connect(ui.browseTorrents, SIGNAL(clicked()),
    70             this, SLOT(selectTorrent()));
    70             this, SLOT(selectTorrent()));
    71     connect(ui.browseDestination, SIGNAL(clicked()),
    71     connect(ui.browseDestination, SIGNAL(clicked()),
    72             this, SLOT(selectDestination()));
    72             this, SLOT(selectDestination()));
    73     connect(ui.torrentFile, SIGNAL(textChanged(const QString &)),
    73     connect(ui.torrentFile, SIGNAL(textChanged(QString)),
    74             this, SLOT(setTorrent(const QString &)));
    74             this, SLOT(setTorrent(QString)));
    75 
    75 
    76     ui.destinationFolder->setText(destinationDirectory = QDir::current().path());
    76     ui.destinationFolder->setText(destinationDirectory = QDir::current().path());
    77     ui.torrentFile->setFocus();
    77     ui.torrentFile->setFocus();
    78 }
    78 }
    79 
    79