mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinQt: Replace widespread SetQWidgetWindowDecorations calls with an event filter.
This commit is contained in:
@ -3,7 +3,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
class QWidget;
|
||||
#if defined(_WIN32)
|
||||
|
||||
// Changes the window decorations (title bar) to dark if the user uses dark mode on Windows.
|
||||
void SetQWidgetWindowDecorations(QWidget* widget);
|
||||
class QApplication;
|
||||
|
||||
namespace QtUtils
|
||||
{
|
||||
// Changes the window decorations (title bar) for Windows "Dark" mode or "Dark" Dolphin Style.
|
||||
void InstallWindowDecorationFilter(QApplication*);
|
||||
} // namespace QtUtils
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user