aboutsummaryrefslogtreecommitdiff
path: root/mapman/src/sliceview.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-05-10 00:04:04 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-05-10 00:04:04 -0400
commit58a7d8c9cf50d4b2a9ae321684ca9d4ce4504260 (patch)
tree7cc6d38194ce165cf9f8ca0bd13577c2f383fb59 /mapman/src/sliceview.cpp
parentc2b90e8c89d6477cf52a6b38ca63cb2f15955935 (diff)
downloadmeteor-trashy-addon-58a7d8c9cf50d4b2a9ae321684ca9d4ce4504260.tar.xz
Disable automatic hidpi scaling on maps. Add zoom option.
Diffstat (limited to 'mapman/src/sliceview.cpp')
-rw-r--r--mapman/src/sliceview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mapman/src/sliceview.cpp b/mapman/src/sliceview.cpp
index db24a26..1083028 100644
--- a/mapman/src/sliceview.cpp
+++ b/mapman/src/sliceview.cpp
@@ -29,7 +29,7 @@ slice_view::slice_view() : l(nullptr)
lv->setSelectionMode(QAbstractItemView::SelectionMode::SingleSelection);
lv->setDragDropMode(QAbstractItemView::DragDropMode::NoDragDrop);
lv->viewport()->installEventFilter(this);
- p = new map_painter();
+ p = new map_painter(this);
p->set_dimension(1, 1);
auto leftcontainer = new QWidget();
auto leftlayout = new QVBoxLayout();