Update Windows taskbar icon in new version.
This commit is contained in:
parent
3a26644fa2
commit
87ca2c891a
|
@ -473,10 +473,15 @@ void psNewVersion() {
|
|||
if (Local::oldSettingsVersion() < 8051) {
|
||||
AppUserModelId::checkPinned();
|
||||
}
|
||||
if (Local::oldSettingsVersion() > 0 && Local::oldSettingsVersion() < 10021) {
|
||||
if (Local::oldSettingsVersion() > 0
|
||||
&& Local::oldSettingsVersion() < 2008012) {
|
||||
// Reset icons cache, because we've changed the application icon.
|
||||
if (Dlls::SHChangeNotify) {
|
||||
Dlls::SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, nullptr, nullptr);
|
||||
Dlls::SHChangeNotify(
|
||||
SHCNE_ASSOCCHANGED,
|
||||
SHCNF_IDLIST,
|
||||
nullptr,
|
||||
nullptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue