summaryrefslogtreecommitdiff
authorsimon <simon>2002-04-30 14:37:40 (UTC)
committer simon <simon>2002-04-30 14:37:40 (UTC)
commitc63b1853bb26bcd5ae21b73eb21d858a56534914 (patch) (unidiff)
tree9a0e5351252a80292cf5af0131487ac1742a335d
parent85b6723c707949f5689bfca6f442d9cbb73f2ee9 (diff)
downloadopie-c63b1853bb26bcd5ae21b73eb21d858a56534914.zip
opie-c63b1853bb26bcd5ae21b73eb21d858a56534914.tar.gz
opie-c63b1853bb26bcd5ae21b73eb21d858a56534914.tar.bz2
- no default args in method impls
- resolved parameter shadowing
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/mindbreaker/mindbreaker.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/games/mindbreaker/mindbreaker.cpp b/noncore/games/mindbreaker/mindbreaker.cpp
index b0e4d88..1a1d05d 100644
--- a/noncore/games/mindbreaker/mindbreaker.cpp
+++ b/noncore/games/mindbreaker/mindbreaker.cpp
@@ -135,3 +135,3 @@ QImage Peg::imageForType(int t)
135 135
136Peg::Peg(QCanvas *canvas , int t, int g = -1, int p = -1) 136Peg::Peg(QCanvas *canvas , int t, int g, int p)
137 : QCanvasRectangle(canvas) 137 : QCanvasRectangle(canvas)
@@ -207,3 +207,3 @@ inline int Peg::type() const
207 */ 207 */
208MindBreaker::MindBreaker( QWidget *parent=0, const char *name=0, int wFlags=0 ) 208MindBreaker::MindBreaker( QWidget *parent, const char *name, int wFlags )
209: QMainWindow(parent, name, wFlags), 209: QMainWindow(parent, name, wFlags),
@@ -252,5 +252,5 @@ void MindBreaker::setScore(int turns, int games)
252 252
253MindBreakerBoard::MindBreakerBoard( QCanvas &c, QWidget *parent=0, 253MindBreakerBoard::MindBreakerBoard( QCanvas &canv, QWidget *parent,
254 const char *name=0, int wFlags=0 ) 254 const char *name, int wFlags )
255 : QCanvasView(&c, parent, name, wFlags) 255 : QCanvasView(&canv, parent, name, wFlags)
256{ 256{