title: Static Qtime Default Value
body: <p>I have method. This method have static QTime but I want to reset this value if something is happened.</p>
  
  <pre><code>static QTime time(QTime::currentTime());
  
  // calculate two new data points:
  double key = time.elapsed()/1000;
  
  static double lastPointKey = 0;
  
  if(newPlot == true){
       // like tihs key = 0 ;         
      // lastPointKey = 0 ;
  }
  </code></pre>