[PATCH 3 of 7] Fix connect syntax in downloader destroy notification

Wald Commits scm-commit at wald.intevation.org
Thu Sep 18 15:47:17 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1411037712 -7200
# Node ID 5f5880cca5cf64eaa4b36fd8a82108efeb802fa4
# Parent  98e0712e790b8c2ea83cb7bf7f8614ed0d708d89
Fix connect syntax in downloader destroy notification.

    The braces were missing and qt warned about that.

diff -r 98e0712e790b -r 5f5880cca5cf ui/mainwindow.cpp
--- 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();
 }
 


More information about the Trustbridge-commits mailing list