changeset 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 e986d3d4705f
files ui/mainwindow.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Thu Sep 18 12:54:20 2014 +0200
+++ b/ui/mainwindow.cpp	Thu Sep 18 12:55:12 2014 +0200
@@ -549,7 +549,7 @@
             this, SLOT(downloaderError(const QString &, SSLConnection::ErrorCode)));
     connect(downloader, SIGNAL(lastModifiedDate(const QDateTime&)),
         this, SLOT(setLastModifiedSWDate(const QDateTime&)));
-    connect(this, SIGNAL(destroyed(QObject*)), downloader, SLOT(quit));
+    connect(this, SIGNAL(destroyed(QObject*)), downloader, SLOT(quit()));
     downloader->start();
 }
 

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