From 3ed6455c3166079d9b8fc1653b307b3c8349055d Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 25 Nov 2005 21:52:29 +0000 Subject: *** empty log message *** --- src/mainwindow.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cc') diff --git a/src/mainwindow.cc b/src/mainwindow.cc index 9f2197a..5e64a75 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -319,7 +319,7 @@ void MainWindow::createGui() QPushButton *MainWindow::createButton(char *caption, int width, int height) { - return createButton(caption, this, width, height); + return createButton(caption, this);//, width, height); } @@ -328,7 +328,7 @@ QPushButton *MainWindow::createButton(char *caption, QWidget *parent, int width, QPushButton *btn = new QPushButton(caption, parent); btn->setFont( QFont( "Sans Serif", (int)(unit * height / 2), QFont::Bold ) ); btn->setFixedHeight((int)(unit * height)); - btn->setFixedWidth((int)(unit * width)); + // btn->setFixedWidth((int)(unit * width)); return btn; } -- cgit v1.2.3