title: Qt emitted signal is not received
body: <p>I'm not able to receive my custom signal in the supposed <code>SLOT</code>. Here is my code:</p>
  
  <p><code>mainwindow.h</code>:</p>
  
  <pre><code>class HistoryItem {
      public:
          QString channel;
  };
  
  
  class dbThread : public QObject
  {
       Q_OBJECT
  
  public:
       dbThread();
  
  signals:
  
  void historyLoaded(QList&lt;HistoryItem*&gt; innerResult);
  
  
  class MainWindow : public QMainWindow
  {
      Q_OBJECT
  
  public:
      explicit MainWindow(QWidget *parent = 0);
      ~MainWindow();
  
  public slots:
      void historyLoaded(const QList&lt;HistoryItem*&gt; innerResult);
  </code></pre>
  
  <p><code>mainwindow.cpp</code>:</p>
  
  <pre><code>connect(dbtrad, SIGNAL(historyLoaded(QList&lt;HistoryItem*&gt;*)), this, SLOT(historyLoaded(QList&lt;HistoryItem*&gt;*)));
  
  void MainWindow::historyLoaded(QList&lt;HistoryItem*&gt; innerResult) {
      qDebug() &lt;&lt; "historyLoaded()...";
  }
  </code></pre>
  
  <p>And this is how I emit the signal:</p>
  
  <pre><code>QList&lt;HistoryItem*&gt; innerResult;
  while (queryInner.next()) {
      QString channelIDInner = queryInner.value(0).toString();
  
      HistoryItem* item = new HistoryItem();
      item-&gt;channel = channelIDInner;
  
      innerResult.append(item);
  }
  qDebug() &lt;&lt; "DONE LOADING.....";
  emit historyLoaded(innerResult);
  </code></pre>
  
  <p>However, <code>qDebug() &lt;&lt; "historyLoaded()...";</code> is never executed.</p>
  
  <p>Any ideas what the problem could be?</p>