QTfrontend/ui/page/AbstractPage.cpp
changeset 6572 0d0af531c1c7
parent 6477 ad5741c252b9
child 6577 9e49e6a8585b
--- 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)
     {