mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
Improved code example
This commit is contained in:
parent
8d561ef3e9
commit
a056fbd6ba
@ -19,7 +19,7 @@ QPixmap::loadFromData() functions. The zoom number is passed as ASCII string
|
|||||||
to the functions:
|
to the functions:
|
||||||
```cpp
|
```cpp
|
||||||
QPixmap pm;
|
QPixmap pm;
|
||||||
pm.loadFromData(tileData(_zoom), QString::number(_zoom).toLatin1());
|
pm.loadFromData(tileData, QString::number(zoom).toLatin1());
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
Loading…
Reference in New Issue
Block a user