173 uploadLimitLabel->setFixedSize(QSize(fm.width(tr("99999 KB/s")), fm.lineSpacing())); |
173 uploadLimitLabel->setFixedSize(QSize(fm.width(tr("99999 KB/s")), fm.lineSpacing())); |
174 |
174 |
175 // Set up connections |
175 // Set up connections |
176 connect(torrentView, SIGNAL(itemSelectionChanged()), |
176 connect(torrentView, SIGNAL(itemSelectionChanged()), |
177 this, SLOT(setActionsEnabled())); |
177 this, SLOT(setActionsEnabled())); |
178 connect(torrentView, SIGNAL(fileDropped(const QString &)), |
178 connect(torrentView, SIGNAL(fileDropped(QString)), |
179 this, SLOT(acceptFileDrop(const QString &))); |
179 this, SLOT(acceptFileDrop(QString))); |
180 connect(uploadLimitSlider, SIGNAL(valueChanged(int)), |
180 connect(uploadLimitSlider, SIGNAL(valueChanged(int)), |
181 this, SLOT(setUploadLimit(int))); |
181 this, SLOT(setUploadLimit(int))); |
182 connect(downloadLimitSlider, SIGNAL(valueChanged(int)), |
182 connect(downloadLimitSlider, SIGNAL(valueChanged(int)), |
183 this, SLOT(setDownloadLimit(int))); |
183 this, SLOT(setDownloadLimit(int))); |
184 connect(newTorrentAction, SIGNAL(triggered()), |
184 connect(newTorrentAction, SIGNAL(triggered()), |