Skip to content
Snippets Groups Projects
Commit b79a6ebf authored by lat9nq's avatar lat9nq
Browse files

configuration_shared: Switch back to background colors

Let's see if I make up my mind.
parent 44b3183e
No related branches found
No related tags found
No related merge requests found
...@@ -89,11 +89,11 @@ void ConfigurationShared::SetPerGameSetting( ...@@ -89,11 +89,11 @@ void ConfigurationShared::SetPerGameSetting(
void ConfigurationShared::SetHighlight(QWidget* widget, const std::string& name, bool highlighted) { void ConfigurationShared::SetHighlight(QWidget* widget, const std::string& name, bool highlighted) {
if (highlighted) { if (highlighted) {
widget->setStyleSheet( widget->setStyleSheet(
QStringLiteral("QWidget#%1 { border:2px solid;border-color:rgba(0,203,255,0.5) }") QStringLiteral("QWidget#%1 { background-color:rgba(0,203,255,0.5) }")
.arg(QString::fromStdString(name))); .arg(QString::fromStdString(name)));
} else { } else {
widget->setStyleSheet( widget->setStyleSheet(
QStringLiteral("QWidget#%1 { border:2px solid;border-color:rgba(0,0,0,0) }") QStringLiteral("QWidget#%1 { background-color:rgba(0,0,0,0) }")
.arg(QString::fromStdString(name))); .arg(QString::fromStdString(name)));
} }
widget->show(); widget->show();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment