--- a/QTfrontend/ui/page/AbstractPage.cpp Sun Jan 15 22:48:34 2012 +0100
+++ b/QTfrontend/ui/page/AbstractPage.cpp Sun Jan 15 22:57:49 2012 +0100
@@ -25,6 +25,8 @@
#include <QLabel>
#include <QSize>
#include <QFontMetricsF>
+#include <qpushbuttonwithsound.h>
+#include <QMessageBox>
AbstractPage::AbstractPage(QWidget* parent)
{
@@ -71,7 +73,7 @@
QPushButton * AbstractPage::formattedButton(const QString & name, bool hasIcon)
{
- QPushButton * btn = new QPushButton(this);
+ QPushButtonWithSound * btn = new QPushButtonWithSound(this);
if (hasIcon)
{