- fixed some bugs introduced recently

- improved debug output
This commit is contained in:
Christophe Dumez
2007-08-26 18:41:45 +00:00
parent 35a9fab3b4
commit 829c358f10
5 changed files with 95 additions and 58 deletions

View File

@@ -37,11 +37,10 @@ class trackerLogin : public QDialog, private Ui::authentication{
QTorrentHandle h;
public:
trackerLogin(QWidget *parent, QTorrentHandle h): QDialog(parent){
trackerLogin(QWidget *parent, QTorrentHandle h): QDialog(parent), h(h){
setupUi(this);
setAttribute(Qt::WA_DeleteOnClose);
login_logo->setPixmap(QPixmap(QString::fromUtf8(":/Icons/encrypted.png")));
this->h = h;
tracker_url->setText(h.current_tracker());
connect(this, SIGNAL(trackerLoginCancelled(QPair<QTorrentHandle,QString>)), parent, SLOT(addUnauthenticatedTracker(QPair<QTorrentHandle,QString>)));
show();