Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
4 Pilocik/mappainterqt.cpp
@@ -346,9 +346,9 @@ painter->drawImage(QPointF(x-images[style->GetId()-1].width()/2,
y-images[style->GetId()-1].height()/2),
images[style->GetId()-1]);
*/
- painter->drawImage(QPointF(x-images->at(style->GetId()-1).width()/2,
+ /* painter->drawImage(QPointF(x-images->at(style->GetId()-1).width()/2,
y-images->at(style->GetId()-1).height()/2),
- images->at(style->GetId()-1));
+ images->at(style->GetId()-1));*/
}
void MapPainterQt::DrawSymbol(const SymbolStyle* style, double x, double y)
View
4 lib/PiLibocik/PiLibocik.pro
@@ -4,13 +4,13 @@
#
#-------------------------------------------------
QT -= gui
-QT += sql xml
+#QT += sql xml
TARGET = PiLibocik
TEMPLATE = lib
CONFIG += staticlib
-DEFINES += PiLibocik_WRITE_MODE
+#DEFINES += PiLibocik_WRITE_MODE
SOURCES += src/pilibocik.cpp \
src/geohash.cpp \
View
4 lib/PiLibocik/include/pilibocik/preparedata.h
@@ -1,6 +1,8 @@
#ifndef PILIBOCIK_PREPAREDATA_H
#define PILIBOCIK_PREPAREDATA_H
+#ifdef PiLibocik_WRITE_MODE
+
#include <QList>
#include <QMap>
#include <QMapIterator>
@@ -50,5 +52,5 @@ namespace PiLibocik{
};
}
-
+#endif
#endif // PREPAREDATA_H
View
3 lib/PiLibocik/src/preparedata.cpp
@@ -1,3 +1,5 @@
+#ifdef PiLibocik_WRITE_MODE
+
#include <pilibocik/preparedata.h>
#include <QDebug>
@@ -368,3 +370,4 @@ namespace PiLibocik{
}
+#endif

No commit comments for this range

Something went wrong with that request. Please try again.