summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/setup_audio.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_audio.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/gui/widgets/tabs/setup_audio.cpp b/src/gui/widgets/tabs/setup_audio.cpp
index e7c49723a..c5cb8cef1 100644
--- a/src/gui/widgets/tabs/setup_audio.cpp
+++ b/src/gui/widgets/tabs/setup_audio.cpp
@@ -31,6 +31,7 @@
#include "gui/viewport.h"
#include "gui/models/namesmodel.h"
+#include "gui/models/soundsmodel.h"
#include "gui/widgets/layouthelper.h"
#include "gui/widgets/scrollarea.h"
@@ -39,20 +40,6 @@
#include "debug.h"
-class SoundsModel final : public NamesModel
-{
-public:
- SoundsModel() :
- NamesModel()
- {
- mNames.push_back(gettext("(no sound)"));
- Theme::fillSoundsList(mNames);
- }
-
- ~SoundsModel()
- { }
-};
-
Setup_Audio::Setup_Audio(const Widget2 *const widget) :
SetupTabScroll(widget),
mSoundModel(new SoundsModel),