- Suppressed QLayout: Attempting to add QLayout "" to properties "properties" warning message when opening a properties dialog (closes #380414)

This commit is contained in:
Christophe Dumez
2009-07-12 03:07:40 +00:00
parent 99786cdf17
commit 114d96195b
3 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
* Unknown - Christophe DUMEZ <chris@qbittorrent.org> - v1.3.4
- BUGFIX: Fixed IP filter file parsing on 64bits
- BUGFIX: Suppressed QLayout: Attempting to add QLayout "" to properties "properties" warning message when opening a properties dialog
* Sun Apr 5 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.3.3
- BUGFIX: Fixed Web UI torrent upload form

View File

@@ -136,9 +136,8 @@ properties::properties(QWidget *parent, bittorrent *BTSession, QTorrentHandle &h
updateInfosTimer->start(3000);
progressBar = new RealProgressBar(this);
progressBar->setForegroundColor(Qt::blue);
QVBoxLayout *vbox = new QVBoxLayout(this);
vbox->addWidget(progressBar);
RealProgressBox->setLayout(vbox);
progressBarVbox = new QVBoxLayout(RealProgressBox);
progressBarVbox->addWidget(progressBar);
progressBarUpdater = new RealProgressBarThread(progressBar, h);
progressBarUpdater->start();
// progressBarUpdater->refresh();
@@ -153,6 +152,7 @@ properties::~properties(){
delete PropListModel;
delete progressBarUpdater;
delete progressBar;
delete progressBarVbox;
}
void properties::addFilesToTree(const torrent_file *root, QStandardItem *parent) {

View File

@@ -59,6 +59,7 @@ class properties : public QDialog, private Ui::properties{
QStringList urlSeeds;
RealProgressBar *progressBar;
RealProgressBarThread *progressBarUpdater;
QVBoxLayout *progressBarVbox;
protected slots:
void on_okButton_clicked();