- Commited some code by mistake

This commit is contained in:
Christophe Dumez 2009-03-27 22:25:34 +00:00
parent 714bf4f2ab
commit 00c5127ba1
2 changed files with 2 additions and 17 deletions

View file

@ -139,7 +139,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
downloadingTorrentTab = new DownloadingTorrents(this, BTSession);
tabs->addTab(downloadingTorrentTab, tr("Downloads") + QString::fromUtf8(" (0/0)"));
tabs->setTabIcon(0, QIcon(QString::fromUtf8(":/Icons/skin/downloading.png")));
propertiesSplitter->insertWidget(0, tabs);
vboxLayout->addWidget(tabs);
connect(downloadingTorrentTab, SIGNAL(unfinishedTorrentsNumberChanged(unsigned int)), this, SLOT(updateUnfinishedTorrentNumber(unsigned int)));
connect(downloadingTorrentTab, SIGNAL(torrentDoubleClicked(QString, bool)), this, SLOT(torrentDoubleClicked(QString, bool)));
// Finished torrents tab
@ -237,10 +237,6 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
QMainWindow::statusBar()->addPermanentWidget(upSpeedLbl);
QMainWindow::statusBar()->addPermanentWidget(statusSep4);
QMainWindow::statusBar()->addPermanentWidget(ratioLbl);
// Properties code
propertiesSplitter->handle(1)->setVisible(false);
stackedProperties->setVisible(false);
// Display window if necessary
if(!settings.value(QString::fromUtf8("Preferences/General/StartMinimized"), false).toBool()) {
show();
}
@ -298,16 +294,6 @@ GUI::~GUI() {
qDebug("5");
}
void GUI::on_prop_infos_button_clicked() {
if(stackedProperties->isVisible()) {
propertiesSplitter->handle(1)->setVisible(false);
stackedProperties->setVisible(false);
} else {
stackedProperties->setVisible(true);
propertiesSplitter->handle(1)->setVisible(true);
}
}
void GUI::displayRSSTab(bool enable) {
if(enable) {
// RSS tab

View file

@ -173,8 +173,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
void OptionsSaved(bool deleteOptions);
// HTTP slots
void on_actionDownload_from_URL_triggered();
// Properties
void on_prop_infos_button_clicked();
public slots:
void trackerAuthenticationRequired(QTorrentHandle& h);