update readme

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2023-02-07 11:15:54 +08:00
parent dc848b3da2
commit 4d43296e28
1 changed files with 2 additions and 2 deletions

View File

@ -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 **)