DolphinQt: Switch dark/light theme when Windows theme changes.

This commit is contained in:
Admiral H. Curtiss
2023-07-31 23:22:53 +02:00
parent e2fb8fab2f
commit 250d5f55de
5 changed files with 49 additions and 16 deletions

View File

@ -210,6 +210,11 @@ private:
void dropEvent(QDropEvent* event) override;
QSize sizeHint() const override;
#ifdef _WIN32
// This gets called for each event from the Windows message queue.
bool nativeEvent(const QByteArray& eventType, void* message, qintptr* result) override;
#endif
#ifdef HAVE_XRANDR
std::unique_ptr<X11Utils::XRRConfiguration> m_xrr_config;
#endif