diff 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
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/