mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
windows: fix dark mode
This commit is contained in:
parent
200a7c0bbb
commit
7fcc5f64c3
1 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,12 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
|
|||
}
|
||||
#endif
|
||||
|
||||
// #TODO: Fix Windows dark mode handling Qt 6.5 beta1
|
||||
// darkmode=2 (default) causes some text to become unreadable
|
||||
#if defined(Q_OS_WIN)
|
||||
qputenv("QT_QPA_PLATFORM", "windows:darkmode=1");
|
||||
#endif
|
||||
|
||||
QStringList argv_;
|
||||
for(int i = 0; i != argc; i++){
|
||||
argv_ << QString::fromStdString(argv[i]);
|
||||
|
|
Loading…
Reference in a new issue