diff options
Diffstat (limited to 'libksirtet/base/board.cpp')
-rw-r--r-- | libksirtet/base/board.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libksirtet/base/board.cpp b/libksirtet/base/board.cpp index 95293387..12193e31 100644 --- a/libksirtet/base/board.cpp +++ b/libksirtet/base/board.cpp @@ -16,7 +16,7 @@ FixedCanvasView::FixedCanvasView(TQWidget *parent, const char *name) : TQCanvasView(parent, name, WNoAutoErase) {} -TQSize FixedCanvasView::tqsizeHint() const +TQSize FixedCanvasView::sizeHint() const { if ( canvas()==0 ) return TQSize(); return canvas()->size() + 2 * TQSize(frameWidth(), frameWidth()); @@ -24,7 +24,7 @@ TQSize FixedCanvasView::tqsizeHint() const void FixedCanvasView::adjustSize() { - setFixedSize(tqsizeHint()); + setFixedSize(sizeHint()); } //----------------------------------------------------------------------------- |