From 5bd149387fe8ce35915e9c58d35938eb03b99051 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Feb 2014 23:35:31 +0300 Subject: Move soundsmodel into gui/models directory. --- src/gui/widgets/tabs/setup_audio.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/gui/widgets/tabs') 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), -- cgit v1.2.3-70-g09d2