Diffstat (limited to 'noncore/games/kbill/field.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kbill/field.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/kbill/field.cpp b/noncore/games/kbill/field.cpp index a974ab2..0dd8d72 100644 --- a/noncore/games/kbill/field.cpp +++ b/noncore/games/kbill/field.cpp | |||
@@ -59,25 +59,25 @@ void Field::leaveEvent(QEvent *) { | |||
59 | if (timer->isActive() && playing) { | 59 | if (timer->isActive() && playing) { |
60 | playing = true; | 60 | playing = true; |
61 | timer->stop(); | 61 | timer->stop(); |
62 | } | 62 | } |
63 | } | 63 | } |
64 | 64 | ||
65 | void Field::stopTimer() { | 65 | void Field::stopTimer() { |
66 | playing = false; | 66 | playing = false; |
67 | if (timer->isActive()) | 67 | if (timer->isActive()) |
68 | timer->stop(); | 68 | timer->stop(); |
69 | } | 69 | } |
70 | 70 | ||
71 | void Field::startTimer() { | 71 | void Field::startTimer() { |
72 | playing = true; | 72 | playing = true; |
73 | if (!timer->isActive()) | 73 | if (!timer->isActive()) |
74 | timer->start(250, FALSE); | 74 | timer->start(250, FALSE); |
75 | } | 75 | } |
76 | 76 | ||
77 | void Field::Timer(){ | 77 | void Field::Timer(){ |
78 | game.update(); | 78 | game.update(); |
79 | } | 79 | } |
80 | 80 | ||
81 | void Field::paintEvent(QPaintEvent *) { | 81 | void Field::paintEvent(QPaintEvent *) { |
82 | bitBlt(this, 0, 0, pix); | 82 | bitBlt(this, 0, 0, pix); |
83 | } \ No newline at end of file | 83 | } |