title: Qtimer isActive() is returning false but it is ruining
body: <p>I am trying to use QTimer and I is starting well, but When I am trying to stop it by checking its state using isActive, it returning false always but the code inside the slot for timer is executing in correct interval. </p>
  
  <p>here is code</p>
  
  <pre><code>void CurrentController::currentAction(void)
  {
      count++;
      QTimer *timer = new QTimer(this);
      if(count == 1)
      {
          qDebug()&lt;&lt; "Count" &lt;&lt; count;
  
          QObject::connect(timer, SIGNAL(timeout()), this, SLOT(callMethod()));
          timer-&gt;setInterval(10000);
          timer-&gt;start();
      }
  </code></pre>
  
  <p>for stopping timer</p>
  
  <pre><code>    if(count &gt;= 2)
      {
          qDebug()&lt;&lt; "Count2" &lt;&lt;timer-&gt;isActive();
          timer-&gt;stop();
          count = 0;
      }
  }
  </code></pre>
  
  <p>Help appreciated thanks...</p>