Improved code example

This commit is contained in:
Martin Tůma 2018-10-29 20:48:46 +01:00 committed by GitHub
parent 8d561ef3e9
commit a056fbd6ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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