diff options
author | deva <deva> | 2005-11-25 21:52:29 +0000 |
---|---|---|
committer | deva <deva> | 2005-11-25 21:52:29 +0000 |
commit | 3ed6455c3166079d9b8fc1653b307b3c8349055d (patch) | |
tree | 09f03ac122b8a48ac02b2250c561618669728137 /src/mainwindow.cc | |
parent | 42edda012a460e1bb69173f9c5a3c2bd55176149 (diff) |
*** empty log message ***
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r-- | src/mainwindow.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |