Commit 65263591 authored by Matthieu Gallien's avatar Matthieu Gallien 🎵 Committed by Nate Graham
Browse files

remove ViewManager::ViewsType only used by automated tests

parent 8de0a185
......@@ -34,7 +34,6 @@ private Q_SLOTS:
void initTestCase()
{
qRegisterMetaType<ViewManager::ViewsType>("ViewManager::ViewsType");
qRegisterMetaType<ViewManager::SortOrder>("ViewManager::SortOrder");
qRegisterMetaType<ViewManager::RadioSpecificStyle>("ViewManager::RadioSpecificStyle");
qRegisterMetaType<ViewManager::AlbumViewStyle>("ViewManager::AlbumViewStyle");
......
......@@ -179,7 +179,6 @@ void ElisaQmlTestPlugin::registerTypes(const char *uri)
qRegisterMetaType<DataTypes::ColumnsRoles>("DataTypes::ColumnsRoles");
qRegisterMetaType<ModelDataLoader::TrackDataType>("ModelDataLoader::TrackDataType");
qRegisterMetaType<TracksListener::TrackDataType>("TracksListener::TrackDataType");
qRegisterMetaType<ViewManager::ViewsType>("ViewManager::ViewsType");
qRegisterMetaType<ViewManager::SortOrder>("ViewManager::SortOrder");
qmlRegisterUncreatableType<ElisaConfigurationDialog>(uri, 1, 0, "ElisaConfigurationDialog", QStringLiteral("only one and done in c++"));
......
......@@ -43,27 +43,6 @@ class ELISALIB_EXPORT ViewManager : public QObject
public:
enum ViewsType {
AllAlbums,
OneAlbum,
AllArtists,
OneArtist,
OneAlbumFromArtist,
AllTracks,
AllGenres,
AllArtistsFromGenre,
OneArtistFromGenre,
OneAlbumFromArtistAndGenre,
FrequentlyPlayedTracks,
RecentlyPlayedTracks,
FilesBrowser,
Context,
RadiosBrowser,
UnknownView,
};
Q_ENUM(ViewsType)
enum SortOrder {
NoSort,
SortAscending,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment