From 4c8c448a6de8b33e4a64271d6b2d0d25e00043ab Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 9 Apr 2011 16:01:36 +0200 Subject: store sound muted in local settings --- pacman-c++/mainwidget.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'pacman-c++/mainwidget.h') diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h index 650a472..6adc876 100644 --- a/pacman-c++/mainwidget.h +++ b/pacman-c++/mainwidget.h @@ -2,7 +2,6 @@ #define MAINWIDGET_H #include "sceneholder.h" - #include "constants.h" #include "pixmapitem.h" #include @@ -16,7 +15,7 @@ class MainWidget Q_OBJECT public: - MainWidget(QMainWindow *window = 0, QWidget *parent = 0); + MainWidget(QWidget *parent = 0); protected: // handling of current key @@ -35,11 +34,8 @@ private slots: void startGame(); void playerScoreClicked(); void tick(); - void toggleSound() const; private: - QMainWindow *m_mainwindow; - // GUI elements needed in the progress of the game QList m_playerScoreLayouts; -- cgit v1.2.3