Qt: Add reload button to postprocessing UI

This commit is contained in:
Connor McLaughlin
2020-09-13 20:21:33 +10:00
parent 7a5f167c1c
commit 3232e3b164
5 changed files with 35 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ public:
explicit QtHostInterface(QObject* parent = nullptr);
~QtHostInterface();
ALWAYS_INLINE static QtHostInterface* GetInstance() { return static_cast<QtHostInterface*>(g_host_interface); }
const char* GetFrontendName() const override;
bool Initialize() override;
@@ -164,6 +166,7 @@ public Q_SLOTS:
void loadCheatList(const QString& filename);
void setCheatEnabled(quint32 index, bool enabled);
void applyCheat(quint32 index);
void reloadPostProcessingShaders();
private Q_SLOTS:
void doStopThread();