Add back Tidal support

This commit is contained in:
Jonas Kvinge
2020-04-13 19:04:06 +02:00
parent e738f2bc9f
commit d90aecb164
38 changed files with 5404 additions and 6 deletions

View File

@@ -73,6 +73,9 @@
#ifdef HAVE_SUBSONIC
# include "subsonicsettingspage.h"
#endif
#ifdef HAVE_TIDAL
# include "tidalsettingspage.h"
#endif
#include "ui_settingsdialog.h"
@@ -145,12 +148,16 @@ SettingsDialog::SettingsDialog(Application *app, QMainWindow *mainwindow, QWidge
AddPage(Page_Moodbar, new MoodbarSettingsPage(this), iface);
#endif
#if defined(HAVE_SUBSONIC)
#if defined(HAVE_SUBSONIC) || defined(HAVE_TIDAL)
QTreeWidgetItem *streaming = AddCategory(tr("Streaming"));
#endif
#ifdef HAVE_SUBSONIC
AddPage(Page_Subsonic, new SubsonicSettingsPage(this), streaming);
#endif
#ifdef HAVE_TIDAL
AddPage(Page_Tidal, new TidalSettingsPage(this), streaming);
#endif
// List box
connect(ui_->list, SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)), SLOT(CurrentItemChanged(QTreeWidgetItem*)));