mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix unused capture
This commit is contained in:
parent
fac28bac1a
commit
3b900bdcd2
1 changed files with 1 additions and 1 deletions
|
@ -1195,7 +1195,7 @@ UserSettingsPage::updateSecretStatus()
|
|||
QString ok = "QLabel { color : #00cc66; }";
|
||||
QString notSoOk = "QLabel { color : #ff9933; }";
|
||||
|
||||
auto updateLabel = [&, this](QLabel *label, const std::string &secretName) {
|
||||
auto updateLabel = [&ok, ¬SoOk](QLabel *label, const std::string &secretName) {
|
||||
if (cache::secret(secretName)) {
|
||||
label->setStyleSheet(ok);
|
||||
label->setText(tr("CACHED"));
|
||||
|
|
Loading…
Reference in a new issue