Mercurial > minori
comparison src/gui/window.cc @ 108:2004b41d4a59
*: huge commit
1. WORKING LOCALIZATION + translation for Spanish and British English
2. idk like 2 changes for the dark theme :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 05 Nov 2023 23:31:49 -0500 |
parents | c8c72278f6fd |
children | 80f49f623d30 |
comparison
equal
deleted
inserted
replaced
107:49c8d1976869 | 108:2004b41d4a59 |
---|---|
273 } | 273 } |
274 | 274 |
275 void MainWindow::showEvent(QShowEvent* event) { | 275 void MainWindow::showEvent(QShowEvent* event) { |
276 QMainWindow::showEvent(event); | 276 QMainWindow::showEvent(event); |
277 #ifdef WIN32 | 277 #ifdef WIN32 |
278 win32::SetTitleBarToBlack(this, session.config.theme.IsInDarkMode()); | 278 win32::SetTitleBarsToBlack(session.config.theme.IsInDarkTheme()); |
279 #endif | 279 #endif |
280 } | 280 } |
281 | 281 |
282 void MainWindow::closeEvent(QCloseEvent* event) { | 282 void MainWindow::closeEvent(QCloseEvent* event) { |
283 session.config.Save(); | 283 session.config.Save(); |