From 4d43296e28787f465df02782cc2ebceb71e2bb79 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Tue, 7 Feb 2023 11:15:54 +0800 Subject: [PATCH] update readme Signed-off-by: Yuhang Zhao <2546789017@qq.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d87f1f2..b0df348 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ There are also two classes called `FramelessWidget` and `FramelessMainWindow`, t #### Code Snippet -First of all, call `void FramelessHelper::Widgets::initialize()` in your `main` function in a very early stage: +First of all, call `void FramelessHelper::Widgets::initialize()` in your `main` function in a very early stage (**MUST** before the construction of any `Q(Gui|Core)Application` objects): ```cpp int main(int, char **) @@ -200,7 +200,7 @@ void MyWidget::myFunction2() #### Code Snippet -First of all, you should call `void FramelessHelper::Quick::initialize()` in your `main` function in a very early stage: +First of all, you should call `void FramelessHelper::Quick::initialize()` in your `main` function in a very early stage (**MUST** before the construction of any `Q(Gui|Core)Application` objects): ```cpp int main(int, char **)