fix(ukcc-plugin):修复切换主题图标时崩溃的问题
This commit is contained in:
parent
945ce880c3
commit
120cff2603
|
@ -479,7 +479,7 @@ void Notice::initItemUi(const QString &desktopPath, UkuiNotification::SingleAppl
|
|||
iconLabel->setFixedSize(32, 32);
|
||||
|
||||
setAppIcon(iconLabel, iconName);
|
||||
connect(m_themeSetting, &QGSettings::changed, [&](const QString &key){
|
||||
connect(m_themeSetting, &QGSettings::changed, [&, iconLabel, iconName](const QString &key){
|
||||
if (key == "iconThemeName")
|
||||
setAppIcon(iconLabel, iconName);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue