title: application crushes after executing stop command of QTimer
body: <p>I wrote a simple code in which I declared a QTimer function and wrote a bunch of commands in it then in another function i used the command timer->stop() (in order to stop and reset the timer) which is making my program crush. I don't know if I can't use it Outside the Timer function... a little view of my code:</p>
  
  <pre><code>timer = new QTimer(this);
  connect(timer, SIGNAL(timeout()), this, SLOT(Timer()));
  timer-&gt;start(2000);
  </code></pre>
  
  <p>This is how i set up my Timer</p>
  
  <pre><code>    void Monitor::on_actionReset_triggered()
  {
      timer-&gt;stop();
      timer-&gt;setInterval(0);
  }
  </code></pre>
  
  <p>And this is how I'm trying to reset it in another function</p>