summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/configuredivecomputerdialog.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-04 21:44:41 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-06 10:38:45 -0700
commit6e6705fb6ec325f2ea8f22a9349079d57bc668fa (patch)
treef409a47fb791ce457b4a28110a94986960150f54 /desktop-widgets/configuredivecomputerdialog.h
parent8af40025b02152586aeaeeba166ff9e597a2702d (diff)
downloadsubsurface-6e6705fb6ec325f2ea8f22a9349079d57bc668fa.tar.gz
cleanup: use safe connect() in ConfigureDiveComputerDialog
The pointer-to-member-function version is compile-time checked and therefore less risky with respect to refactoring. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/configuredivecomputerdialog.h')
-rw-r--r--desktop-widgets/configuredivecomputerdialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.h b/desktop-widgets/configuredivecomputerdialog.h
index fe617b0ba..6411b42d0 100644
--- a/desktop-widgets/configuredivecomputerdialog.h
+++ b/desktop-widgets/configuredivecomputerdialog.h
@@ -124,7 +124,7 @@ private:
#endif
};
-class OstcFirmwareCheck : QObject {
+class OstcFirmwareCheck : public QObject {
Q_OBJECT
public:
explicit OstcFirmwareCheck(QString product);