mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 04:24:23 +00:00
- Should fix compilation issues about verticalLayout in GUI.cpp with some versions of Qt4
This commit is contained in:
parent
adda3a2d34
commit
6f13325e76
@ -131,7 +131,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
|
|||||||
downloadingTorrentTab = new DownloadingTorrents(this, BTSession);
|
downloadingTorrentTab = new DownloadingTorrents(this, BTSession);
|
||||||
tabs->addTab(downloadingTorrentTab, tr("Downloads") + QString::fromUtf8(" (0/0)"));
|
tabs->addTab(downloadingTorrentTab, tr("Downloads") + QString::fromUtf8(" (0/0)"));
|
||||||
tabs->setTabIcon(0, QIcon(QString::fromUtf8(":/Icons/skin/downloading.png")));
|
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(unfinishedTorrentsNumberChanged(unsigned int)), this, SLOT(updateUnfinishedTorrentNumber(unsigned int)));
|
||||||
connect(downloadingTorrentTab, SIGNAL(torrentDoubleClicked(QString, bool)), this, SLOT(torrentDoubleClicked(QString, bool)));
|
connect(downloadingTorrentTab, SIGNAL(torrentDoubleClicked(QString, bool)), this, SLOT(torrentDoubleClicked(QString, bool)));
|
||||||
// Finished torrents tab
|
// Finished torrents tab
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<height>505</height>
|
<height>505</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout" >
|
<layout class="QVBoxLayout" name="vboxLayout" >
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="_3" >
|
<layout class="QHBoxLayout" name="_3" >
|
||||||
<property name="spacing" >
|
<property name="spacing" >
|
||||||
|
Loading…
x
Reference in New Issue
Block a user