comparison ui/mainwindow.cpp @ 1155:5f5880cca5cf

Fix connect syntax in downloader destroy notification. The braces were missing and qt warned about that.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 18 Sep 2014 12:55:12 +0200
parents 98e0712e790b
children 2a1206932f53
comparison
equal deleted inserted replaced
1154:98e0712e790b 1155:5f5880cca5cf
547 connect(downloader, SIGNAL(finished()), downloader, SLOT(deleteLater())); 547 connect(downloader, SIGNAL(finished()), downloader, SLOT(deleteLater()));
548 connect(downloader, SIGNAL(error(const QString &, SSLConnection::ErrorCode)), 548 connect(downloader, SIGNAL(error(const QString &, SSLConnection::ErrorCode)),
549 this, SLOT(downloaderError(const QString &, SSLConnection::ErrorCode))); 549 this, SLOT(downloaderError(const QString &, SSLConnection::ErrorCode)));
550 connect(downloader, SIGNAL(lastModifiedDate(const QDateTime&)), 550 connect(downloader, SIGNAL(lastModifiedDate(const QDateTime&)),
551 this, SLOT(setLastModifiedSWDate(const QDateTime&))); 551 this, SLOT(setLastModifiedSWDate(const QDateTime&)));
552 connect(this, SIGNAL(destroyed(QObject*)), downloader, SLOT(quit)); 552 connect(this, SIGNAL(destroyed(QObject*)), downloader, SLOT(quit()));
553 downloader->start(); 553 downloader->start();
554 } 554 }
555 555
556 void MainWindow::setLastModifiedSWDate(const QDateTime &date) 556 void MainWindow::setLastModifiedSWDate(const QDateTime &date)
557 { 557 {

http://wald.intevation.org/projects/trustbridge/