Diffstat (limited to 'noncore/games/kpacman/kpacmanwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/kpacman/kpacmanwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/games/kpacman/kpacmanwidget.cpp b/noncore/games/kpacman/kpacmanwidget.cpp index feb782c..cf2aed9 100644 --- a/noncore/games/kpacman/kpacmanwidget.cpp +++ b/noncore/games/kpacman/kpacmanwidget.cpp | |||
@@ -24,4 +24,7 @@ KpacmanWidget::KpacmanWidget( QWidget *parent, const char *name) | |||
24 | : QWidget( parent, name ) | 24 | : QWidget( parent, name ) |
25 | { | 25 | { |
26 | score = 0l; | ||
27 | referee = 0l; | ||
28 | status = 0l; | ||
26 | bitfont = NULL; | 29 | bitfont = NULL; |
27 | fontName = ""; | 30 | fontName = ""; |
@@ -142,7 +145,9 @@ void KpacmanWidget::setScheme(int Scheme, int Mode) | |||
142 | void KpacmanWidget::resizeEvent( QResizeEvent * ) | 145 | void KpacmanWidget::resizeEvent( QResizeEvent * ) |
143 | { | 146 | { |
147 | qWarning("Resize"); | ||
144 | referee->setGeometry(0, bitfont->height()*3, referee->width(), referee->height()); | 148 | referee->setGeometry(0, bitfont->height()*3, referee->width(), referee->height()); |
145 | referee->setBackgroundColor(BLACK); | 149 | referee->setBackgroundColor(BLACK); |
146 | 150 | ||
151 | if(!status ) return; | ||
147 | status->setGeometry(0, bitfont->height()*3+referee->height(), referee->width(), | 152 | status->setGeometry(0, bitfont->height()*3+referee->height(), referee->width(), |
148 | status->height()); | 153 | status->height()); |