summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-02-08 22:35:09 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-02-09 17:14:25 +0100
commit1b041ecccfbe44a4f50ffc086e3996e2b6eea4f7 (patch)
tree74cff7036d1ecfb4df5a79a7ca68bedce5bea47e /src/gui/minimap.cpp
parent0ca05c54dd814f294617eda286ef175f01baa542 (diff)
downloadmana-1b041ecccfbe44a4f50ffc086e3996e2b6eea4f7.tar.gz
mana-1b041ecccfbe44a4f50ffc086e3996e2b6eea4f7.tar.bz2
mana-1b041ecccfbe44a4f50ffc086e3996e2b6eea4f7.tar.xz
mana-1b041ecccfbe44a4f50ffc086e3996e2b6eea4f7.zip
C++11: Use default member initializers
This patch is not exhaustive.
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 388a032a..7d6cc618 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -42,11 +42,7 @@
bool Minimap::mShow = true;
Minimap::Minimap():
- Window(_("Map")),
- mMap(nullptr),
- mMapImage(nullptr),
- mWidthProportion(0.5),
- mHeightProportion(0.5)
+ Window(_("Map"))
{
setWindowName("Minimap");
mShow = config.getValue(getWindowName() + "Show", true);