fixed some heavy pointermistakes

This commit is contained in:
2014-09-24 21:35:04 +02:00
parent b18e3f9943
commit ff954eced0
19 changed files with 751 additions and 56 deletions

View File

@@ -2,9 +2,14 @@
#include "unistd.h"
Countdown::Countdown()
{
this->running = 1;
}
void Countdown::setStop(){
this->running = 0;
}
void Countdown::run(){
while(1){
while(this->running){
sleep(1);
emit CountdownUpdate();
}