mirror of
https://github.com/gamecreature/QtAwesome.git
synced 2024-11-15 13:35:44 +08:00
Update README.md (fixed type issue #11)
This commit is contained in:
parent
587c833b84
commit
9b3209925d
@ -175,7 +175,7 @@ A workaround for this problem is converting it to a Pixmap icon like this:
|
|||||||
|
|
||||||
```c++
|
```c++
|
||||||
QAction* menuAction = new QAction("test");
|
QAction* menuAction = new QAction("test");
|
||||||
menuAction->setIcon( awesome->icon(fa::beer).pixmap(32,32)) );
|
menuAction->setIcon( awesome->icon(fa::beer).pixmap(32,32) );
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user