profile: use member-to-function style connect() statements

This makes things compile-time instead of run-time checked.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-04-12 12:48:38 +02:00 committed by Dirk Hohndel
parent 2829909376
commit c1963fd5dd
2 changed files with 17 additions and 23 deletions

View file

@ -108,7 +108,6 @@ slots: // Necessary to call from QAction's signals.
void actionRequestedReplot(bool triggered);
void setEmptyState();
void setProfileState();
void replot();
#ifndef SUBSURFACE_MOBILE
void plotPictures();
void removePictures(const QVector<QString> &fileUrls);
@ -148,6 +147,7 @@ private:
void dragEnterEvent(QDragEnterEvent *event) override;
void dragMoveEvent(QDragMoveEvent *event) override;
void replot();
void changeGas(int tank, int seconds);
void fixBackgroundPos();
void scrollViewTo(const QPoint &pos);