fix missing tray icon bug
This commit is contained in:
@@ -74,7 +74,7 @@ void setAutostart(bool newValue)
|
||||
|
||||
HRESULT hr;
|
||||
|
||||
HKEY runKey = NULL;
|
||||
HKEY runKey = nullptr;
|
||||
hr = RegCreateKey(HKEY_CURRENT_USER, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", &runKey);
|
||||
if (isError(hr, "Failed to find/create autostart run key: ")) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user