From 6e597de4e90f2612e4c5536b4124d2df033f9e6b Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Tue, 31 Mar 2020 21:48:26 +0800 Subject: [PATCH] Update. Signed-off-by: Yuhang Zhao <2546789017@qq.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3651bff..95e573b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Usage -Copy *winnativeeventfilter.h* and *winnativeeventfilter.cpp* to your project and use `WinNativeEventFilter::setup();` before any windows (widgets and Qt Quick windows) show up, just like what the example project does. +Copy *winnativeeventfilter.h* and *winnativeeventfilter.cpp* to your project and use `WinNativeEventFilter::install();` or `WinNativeEventFilter::addFramelessWindow(reinterpret_cast(myWidget->winId()));` before any windows (widgets and Qt Quick windows) show up, just like what the example project does. ## Notice