summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc4
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;
}