mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-22 16:46:45 -05:00
silence deprecation warnings
This commit is contained in:
@@ -26,12 +26,12 @@ public:
|
||||
int mapHeight = 0;
|
||||
QVector<uint8_t> tiles;
|
||||
QString cityMap;
|
||||
RegionMapHistoryItem(int type, QVector<uint8_t> tiles, QString cityMap) {
|
||||
RegionMapHistoryItem(int which, QVector<uint8_t> tiles, QString cityMap) {
|
||||
this->which = which;
|
||||
this->tiles = tiles;
|
||||
this->cityMap = cityMap;
|
||||
}
|
||||
RegionMapHistoryItem(int type, QVector<uint8_t> tiles, int width, int height) {
|
||||
RegionMapHistoryItem(int which, QVector<uint8_t> tiles, int width, int height) {
|
||||
this->which = which;
|
||||
this->tiles = tiles;
|
||||
this->mapWidth = width;
|
||||
|
||||
@@ -9,7 +9,7 @@ class NoScrollSpinBox : public QSpinBox
|
||||
|
||||
public:
|
||||
explicit NoScrollSpinBox(QWidget *parent = nullptr);
|
||||
void wheelEvent(QWheelEvent *event);
|
||||
void wheelEvent(QWheelEvent *event) override;
|
||||
void focusOutEvent(QFocusEvent *event) override;
|
||||
|
||||
unsigned getActionId();
|
||||
|
||||
@@ -10,7 +10,7 @@ class OverlayItem {
|
||||
public:
|
||||
OverlayItem() {}
|
||||
virtual ~OverlayItem() {};
|
||||
virtual void render(QPainter *painter) {};
|
||||
virtual void render(QPainter *) {};
|
||||
};
|
||||
|
||||
class OverlayText : public OverlayItem {
|
||||
|
||||
Reference in New Issue
Block a user