mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
Fix cppcheck reported issues (#333)
Fixes: https://github.com/microsoft/PowerToys/issues/266
This commit is contained in:
committed by
GitHub
parent
12cd7bb49f
commit
8ac6db8b5a
@@ -197,7 +197,7 @@ public:
|
||||
|
||||
FancyZonesModule()
|
||||
{
|
||||
m_settings = MakeFancyZonesSettings(reinterpret_cast<HINSTANCE>(&__ImageBase), get_name());
|
||||
m_settings = MakeFancyZonesSettings(reinterpret_cast<HINSTANCE>(&__ImageBase), FancyZonesModule::get_name());
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
@@ -62,14 +62,14 @@ void Trace::FancyZones::ToggleZoneViewers(bool visible) noexcept
|
||||
TraceLoggingBoolean(visible, "Visible"));
|
||||
}
|
||||
|
||||
void Trace::FancyZones::OnKeyDown(DWORD vk, bool win, bool control, bool inMoveSize) noexcept
|
||||
void Trace::FancyZones::OnKeyDown(DWORD vkCode, bool win, bool control, bool inMoveSize) noexcept
|
||||
{
|
||||
TraceLoggingWrite(
|
||||
g_hProvider,
|
||||
"FancyZones::Event::OnKeyDown",
|
||||
ProjectTelemetryPrivacyDataTag(ProjectTelemetryTag_ProductAndServicePerformance),
|
||||
TraceLoggingKeyword(PROJECT_KEYWORD_MEASURE),
|
||||
TraceLoggingValue(vk, "Hotkey"),
|
||||
TraceLoggingValue(vkCode, "Hotkey"),
|
||||
TraceLoggingBoolean(win, "WindowsKey"),
|
||||
TraceLoggingBoolean(control, "ControlKey"),
|
||||
TraceLoggingBoolean(inMoveSize, "InMoveSize"));
|
||||
|
||||
@@ -29,7 +29,7 @@ public:
|
||||
Mouse
|
||||
};
|
||||
|
||||
static void KeyUp(WPARAM wparam, bool isEditorMode) noexcept;
|
||||
static void KeyUp(WPARAM wParam, bool isEditorMode) noexcept;
|
||||
static void MoveSizeEnd(_In_opt_ winrt::com_ptr<IZoneSet> activeSet) noexcept;
|
||||
static void CycleActiveZoneSet(_In_opt_ winrt::com_ptr<IZoneSet> activeSet, InputMode mode) noexcept;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user