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 committed by Nayla Hanegan
commit 94c954ce17
No known key found for this signature in database
GPG key ID: 3075216CED0DB01D
5 changed files with 49 additions and 16 deletions

View file

@ -211,6 +211,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