From 6f13325e766fda44246149cc6c86f70f1dc1dad9 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 23 Jun 2008 18:58:24 +0000 Subject: [PATCH] - Should fix compilation issues about verticalLayout in GUI.cpp with some versions of Qt4 --- src/GUI.cpp | 2 +- src/MainWindow.ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index 4a136cb58..e40edbd93 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -131,7 +131,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"))); - verticalLayout->addWidget(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 diff --git a/src/MainWindow.ui b/src/MainWindow.ui index 93203e9ea..230a88aea 100644 --- a/src/MainWindow.ui +++ b/src/MainWindow.ui @@ -24,7 +24,7 @@ 505 - +