Changeset View
Changeset View
Standalone View
Standalone View
kstars/skymap.cpp
Context not available. | |||||
125 | : QGraphicsView(KStars::Instance()), computeSkymap(true), rulerMode(false), data(KStarsData::Instance()), pmenu(nullptr), | 125 | : QGraphicsView(KStars::Instance()), computeSkymap(true), rulerMode(false), data(KStarsData::Instance()), pmenu(nullptr), | ||
---|---|---|---|---|---|
126 | ClickedObject(nullptr), FocusObject(nullptr), m_proj(nullptr), m_previewLegend(false), m_objPointingMode(false) | 126 | ClickedObject(nullptr), FocusObject(nullptr), m_proj(nullptr), m_previewLegend(false), m_objPointingMode(false) | ||
127 | { | 127 | { | ||
128 | #if !defined(KSTARS_LITE) | ||||
129 | grabGesture(Qt::PinchGesture); | ||||
130 | grabGesture(Qt::TapAndHoldGesture); | ||||
131 | #endif | ||||
128 | m_Scale = 1.0; | 132 | m_Scale = 1.0; | ||
129 | 133 | | |||
130 | ZoomRect = QRect(); | 134 | ZoomRect = QRect(); | ||
Context not available. |