Fix setting output/device for Xine and VLC backend

- Fixed setting output and device on Xine and VLC backend
- Fixed track slider for Xine, VLC and Phonon
- Improved backend settings to better support multiple backends
- Added group by samplerate and bitdepth in collection
- Fixed crash on exit when existing instance of the application is already runnung caused by NVIDIA driver
- Changed Q_OS_MAC to Q_OS_MACOS
This commit is contained in:
Jonas Kvinge
2018-06-28 01:15:32 +02:00
parent 6978983dd3
commit 985b91e5f4
56 changed files with 2799 additions and 2589 deletions

View File

@@ -42,8 +42,9 @@
class QModelIndex;
class QShowEvent;
class Appearance;
class Application;
class Player;
class Appearance;
class CollectionDirectoryModel;
class GlobalShortcuts;
class SettingsPage;
@@ -88,6 +89,8 @@ public:
bool is_loading_settings() const { return loading_settings_; }
Application *app() const { return app_; }
Player *player() const { return player_; }
EngineBase *engine() const { return engine_; }
CollectionDirectoryModel *collection_directory_model() const { return model_; }
GlobalShortcuts *global_shortcuts_manager() const { return manager_; }
Appearance *appearance() const { return appearance_; }
@@ -122,6 +125,8 @@ private:
private:
Application *app_;
Player *player_;
EngineBase *engine_;
CollectionDirectoryModel *model_;
GlobalShortcuts *manager_;
Appearance *appearance_;