projects
/
kitchenalert
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added sticky alerts
[kitchenalert]
/
src
/
timer.cpp
diff --git
a/src/timer.cpp
b/src/timer.cpp
index
8174177
..
1a182b9
100644
(file)
--- a/
src/timer.cpp
+++ b/
src/timer.cpp
@@
-39,6
+39,8
@@
Timer::Timer(QObject *parent) :
connect(&_actualTimer, SIGNAL(timeout()), this, SLOT(secondPassed()));
alerting_ = false;
connect(&_actualTimer, SIGNAL(timeout()), this, SLOT(secondPassed()));
alerting_ = false;
+
+ _remainingTime = 0; //Same as when stopped
}
}
@@
-211,9
+213,9
@@
bool Timer::load(QString filename)
return true;
}
return true;
}
-QString Timer::getFilename()
-{
- return filenameWithPath_;
-}
+//QString Timer::getFilename()
+//{
+// return filenameWithPath_;
+//}