mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2025-04-18 19:49:11 +02: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:
|
||||
```cpp
|
||||
QPixmap pm;
|
||||
pm.loadFromData(tileData(_zoom), QString::number(_zoom).toLatin1());
|
||||
pm.loadFromData(tileData, QString::number(zoom).toLatin1());
|
||||
```
|
||||
|
||||
## Build
|
||||
|
Loading…
x
Reference in New Issue
Block a user