Permalink
Browse files

Merge pull request #7193 from spycrab/qt_mac_bgcolor

Qt/WrapInScrollArea: Ensure correct macOS background colors
  • Loading branch information...
spycrab committed Jul 1, 2018
2 parents f5730e1 + 4bf276e commit 8e1425b363337c7ebe7a684927cab15a8586f356
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/DolphinQt2/QtUtils/WrapInScrollArea.cpp
@@ -30,8 +30,8 @@ QWidget* GetWrappedWidget(QWidget* wrapped_widget, QWidget* to_resize, int margi
std::max(recommended_height, to_resize->height()));
}
#ifdef _WIN32
// Transparency can cause unwanted side-effects on OSes other than Windows
#if defined(_WIN32) || defined(__APPLE__)
// Transparency can cause unwanted side-effects on OSes other than Windows / macOS
// Make sure the background color stays consistent with the parent widget
QPalette p = wrapped_widget->palette();

0 comments on commit 8e1425b

Please sign in to comment.