mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-01 05:33:33 +00:00
Fix minor bits from cppcheck
This commit is contained in:
parent
033f7b0fc6
commit
0bae96a5c0
|
@ -205,7 +205,7 @@ protected:
|
|||
|
||||
private:
|
||||
Okular::HighlightAnnotation *m_hlAnn;
|
||||
QComboBox *m_typeCombo;
|
||||
QComboBox *m_typeCombo = nullptr;
|
||||
};
|
||||
|
||||
class GeomAnnotationWidget : public AnnotationWidget
|
||||
|
@ -222,10 +222,10 @@ protected:
|
|||
|
||||
private:
|
||||
Okular::GeomAnnotation *m_geomAnn;
|
||||
QComboBox *m_typeCombo;
|
||||
QCheckBox *m_useColor;
|
||||
KColorButton *m_innerColor;
|
||||
QDoubleSpinBox *m_spinSize;
|
||||
QComboBox *m_typeCombo = nullptr;
|
||||
QCheckBox *m_useColor = nullptr;
|
||||
KColorButton *m_innerColor = nullptr;
|
||||
QDoubleSpinBox *m_spinSize = nullptr;
|
||||
};
|
||||
|
||||
class FileAttachmentAnnotationWidget : public AnnotationWidget
|
||||
|
@ -277,7 +277,7 @@ protected:
|
|||
|
||||
private:
|
||||
Okular::InkAnnotation *m_inkAnn;
|
||||
QDoubleSpinBox *m_spinSize;
|
||||
QDoubleSpinBox *m_spinSize = nullptr;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -158,7 +158,7 @@ public:
|
|||
QPointF mousePressPos;
|
||||
QPointF mouseSelectPos;
|
||||
QPointF previousMouseMovePos;
|
||||
qreal mouseMidLastY;
|
||||
qreal mouseMidLastY = 0.0;
|
||||
bool mouseSelecting = false;
|
||||
QRect mouseSelectionRect;
|
||||
QColor mouseSelectionColor;
|
||||
|
|
Loading…
Reference in a new issue