1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-17 04:14:24 +02:00

Optimization

This commit is contained in:
2021-04-13 20:30:27 +02:00
parent a42709e6a2
commit 071056b9bc
6 changed files with 20 additions and 22 deletions

View File

@ -35,7 +35,7 @@ private slots:
{
for (int i = 0; i < _tiles.size(); i++) {
Mapsforge::RasterTile &mt = _tiles[i];
QPixmap pm(QPixmap::fromImage(mt.img()));
const QPixmap &pm = mt.pixmap();
if (pm.isNull())
continue;