Mercurial > minori
diff include/gui/dialog/settings.h @ 119:4eae379cb1ff
settings: add a very early recognition tab for configuring players and extensions
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 08 Nov 2023 13:50:00 -0500 |
parents | 254b1d2b7096 |
children | 54c9d36207db |
line wrap: on
line diff
--- a/include/gui/dialog/settings.h Tue Nov 07 23:40:54 2023 -0500 +++ b/include/gui/dialog/settings.h Wed Nov 08 13:50:00 2023 -0500 @@ -71,6 +71,18 @@ decltype(session.config.torrents.feed_link) feed_link; }; +class SettingsPageRecognition final : public SettingsPage { + Q_OBJECT + + public: + SettingsPageRecognition(QWidget* parent = nullptr); + void SaveInfo() override; + + private: + QWidget* CreatePlayersWidget(); + decltype(session.recognition.players) players; +}; + class SettingsDialog final : public QDialog { Q_OBJECT