diff --git a/src/Client/View/client_view.cpp b/src/Client/View/client_view.cpp index 1ae8a6b..660384a 100644 --- a/src/Client/View/client_view.cpp +++ b/src/Client/View/client_view.cpp @@ -8,6 +8,8 @@ ClientView::ClientView() : final_screen_(new FinalScreen(this)), input_controller_(new InputController), network_problem_widget_(new NetworkProblemWidget(this)) { + QSound sound(":sound.wav"); + sound.play(":sound.wav"); AddWidgets(); stacked_widget_->setCurrentWidget(main_menu_); setCentralWidget(stacked_widget_); diff --git a/src/Client/View/client_view.h b/src/Client/View/client_view.h index 3fc7953..0904960 100644 --- a/src/Client/View/client_view.h +++ b/src/Client/View/client_view.h @@ -11,6 +11,7 @@ #include #include #include +#include "QSound" class ClientView : public QMainWindow { Q_OBJECT