mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove protected access specifier in ProfileWidget2
There were a number of protected member functions in ProfileWidget2. However no class subclassed ProfileWidget2, so this appears to have been an artifact. Therefore, make these functions private. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
0ccc0f04bb
commit
fc697538fa
1 changed files with 2 additions and 3 deletions
|
@ -134,7 +134,7 @@ slots: // Necessary to call from QAction's signals.
|
|||
void divePlannerHandlerReleased();
|
||||
#endif
|
||||
|
||||
protected:
|
||||
private:
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
#ifndef SUBSURFACE_MOBILE
|
||||
void wheelEvent(QWheelEvent *event) override;
|
||||
|
@ -148,7 +148,6 @@ protected:
|
|||
void dragEnterEvent(QDragEnterEvent *event) override;
|
||||
void dragMoveEvent(QDragMoveEvent *event) override;
|
||||
|
||||
private:
|
||||
void changeGas(int tank, int seconds);
|
||||
void fixBackgroundPos();
|
||||
void scrollViewTo(const QPoint &pos);
|
||||
|
@ -174,7 +173,7 @@ private:
|
|||
void makeFirstDC();
|
||||
void deleteCurrentDC();
|
||||
void splitCurrentDC();
|
||||
private:
|
||||
|
||||
DivePlotDataModel *dataModel;
|
||||
int zoomLevel;
|
||||
qreal zoomFactor;
|
||||
|
|
Loading…
Add table
Reference in a new issue