diff options
Diffstat (limited to 'kbattleship/kbattleship/kgridwidget.cpp')
-rw-r--r-- | kbattleship/kbattleship/kgridwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kbattleship/kbattleship/kgridwidget.cpp b/kbattleship/kbattleship/kgridwidget.cpp index cb6e573e..b848484b 100644 --- a/kbattleship/kbattleship/kgridwidget.cpp +++ b/kbattleship/kbattleship/kgridwidget.cpp @@ -26,10 +26,10 @@ #include "kbattlefield.h" #include "kgridwidget.h" -KGridWidget::KGridWidget(TQWidget *tqparent, bool draw) : m_drawGrid(draw) +KGridWidget::KGridWidget(TQWidget *parent, bool draw) : m_drawGrid(draw) { - m_doubleBuffer = new TQPixmap(tqparent->width(), tqparent->height()); - m_parent = tqparent; + m_doubleBuffer = new TQPixmap(parent->width(), parent->height()); + m_parent = parent; cleanBuffer(); cacheImages(); |