Mercurial > minori
comparison src/gui/dialog/dialog.cc @ 370:ea3a74ed2ef9
*: hm, last commit wasn't quite finished?
| author | Paper <paper@tflc.us> |
|---|---|
| date | Fri, 25 Jul 2025 10:22:04 -0400 |
| parents | 6d37a998cf91 |
| children | 5d716acb2774 |
comparison
equal
deleted
inserted
replaced
| 369:47c9f8502269 | 370:ea3a74ed2ef9 |
|---|---|
| 1 #include "gui/dialog/dialog.h" | 1 #include "gui/dialog/dialog.h" |
| 2 #include "gui/widgets/text.h" | 2 #include "gui/widgets/text.h" |
| 3 | 3 |
| 4 #ifdef WIN32 | 4 #ifdef WIN32 |
| 5 # include "sys/win32/dark_theme.h" | 5 # include "sys/win32/dark_theme.h" |
| 6 #endif | 6 #endif |
| 7 | 7 |
| 8 void Dialog::showEvent(QShowEvent* event) { | 8 void Dialog::showEvent(QShowEvent *event) |
| 9 { | |
| 9 QDialog::showEvent(event); | 10 QDialog::showEvent(event); |
| 10 #ifdef WIN32 | 11 #ifdef WIN32 |
| 11 win32::SetTitleBarsToBlack(session.config.theme.IsInDarkTheme()); | 12 win32::SetTitleBarsToBlack(session.config.theme.IsInDarkTheme()); |
| 12 #endif | 13 #endif |
| 13 } | 14 } |
