diff options
| author | 2020-07-13 21:36:31 -0400 | |
|---|---|---|
| committer | 2020-07-19 13:26:55 -0400 | |
| commit | b79a6ebf9c45f0a3147073a3b530fa43b9344842 (patch) | |
| tree | 99cc8c6a52d15025fcaac6bf23675a9cc0df9bf5 /src | |
| parent | configuration_shared: Better use global text (diff) | |
| download | yuzu-b79a6ebf9c45f0a3147073a3b530fa43b9344842.tar.gz yuzu-b79a6ebf9c45f0a3147073a3b530fa43b9344842.tar.xz yuzu-b79a6ebf9c45f0a3147073a3b530fa43b9344842.zip | |
configuration_shared: Switch back to background colors
Let's see if I make up my mind.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configuration_shared.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configuration_shared.cpp b/src/yuzu/configuration/configuration_shared.cpp index 0c881cf7d..28b655222 100644 --- a/src/yuzu/configuration/configuration_shared.cpp +++ b/src/yuzu/configuration/configuration_shared.cpp | |||
| @@ -89,11 +89,11 @@ void ConfigurationShared::SetPerGameSetting( | |||
| 89 | void ConfigurationShared::SetHighlight(QWidget* widget, const std::string& name, bool highlighted) { | 89 | void ConfigurationShared::SetHighlight(QWidget* widget, const std::string& name, bool highlighted) { |
| 90 | if (highlighted) { | 90 | if (highlighted) { |
| 91 | widget->setStyleSheet( | 91 | widget->setStyleSheet( |
| 92 | QStringLiteral("QWidget#%1 { border:2px solid;border-color:rgba(0,203,255,0.5) }") | 92 | QStringLiteral("QWidget#%1 { background-color:rgba(0,203,255,0.5) }") |
| 93 | .arg(QString::fromStdString(name))); | 93 | .arg(QString::fromStdString(name))); |
| 94 | } else { | 94 | } else { |
| 95 | widget->setStyleSheet( | 95 | widget->setStyleSheet( |
| 96 | QStringLiteral("QWidget#%1 { border:2px solid;border-color:rgba(0,0,0,0) }") | 96 | QStringLiteral("QWidget#%1 { background-color:rgba(0,0,0,0) }") |
| 97 | .arg(QString::fromStdString(name))); | 97 | .arg(QString::fromStdString(name))); |
| 98 | } | 98 | } |
| 99 | widget->show(); | 99 | widget->show(); |