QTfrontend/AbstractPage.h
changeset 6052 5e3e7d19bdb5
parent 6048 ae213ef7030a
--- a/QTfrontend/AbstractPage.h	Tue Sep 27 05:08:23 2011 +0200
+++ b/QTfrontend/AbstractPage.h	Tue Sep 27 16:14:35 2011 +0200
@@ -78,7 +78,7 @@
 
         virtual ~AbstractPage() {};
 
-        QPushButton * formattedButton(const QString & btname, bool hasIcon);
+        QPushButton * formattedButton(const QString & btname, bool hasIcon = false);
         QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, bool hasIcon = false);
         QPushButton * addButton(const QString & btname, QGridLayout * grid, int wy, int wx, int rowSpan, int columnSpan, bool hasIcon = false);
         QPushButton * addButton(const QString & btname, QBoxLayout * box, int where, bool hasIcon = false);