mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Code cleanup
This commit is contained in:
parent
8cb08d05ca
commit
20adecec89
@ -1,10 +1,10 @@
|
||||
#ifndef NAVIGATIONWIDGET_H
|
||||
#define NAVIGATIONWIDGET_H
|
||||
|
||||
#ifdef Q_OS_ANDROID
|
||||
#include <QWidget>
|
||||
#include "mapview.h"
|
||||
|
||||
#ifdef Q_OS_ANDROID
|
||||
class NavigationWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -192,8 +192,6 @@ void IMGMap::cancelJobs()
|
||||
|
||||
void IMGMap::draw(QPainter *painter, const QRectF &rect, Flags flags)
|
||||
{
|
||||
Q_UNUSED(flags);
|
||||
|
||||
QPointF tl(floor(rect.left() / TILE_SIZE)
|
||||
* TILE_SIZE, floor(rect.top() / TILE_SIZE) * TILE_SIZE);
|
||||
QSizeF s(rect.right() - tl.x(), rect.bottom() - tl.y());
|
||||
|
Loading…
Reference in New Issue
Block a user