summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-12-07 14:46:35 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2022-01-18 16:23:56 +0100
commit26082a0dd2037c060b00dcaa193c8cf697e823df (patch)
treeb729071d0066879ee42e1e6e61827887f68fa777 /src
parent755b0aa681c203e6677430180a9cc6d103650e15 (diff)
Remove (set but) unused member from QTimerPrivate
Change-Id: I004fef8ce84cdc74837f674239c05901000bee33 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qtimer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/kernel/qtimer.cpp b/src/corelib/kernel/qtimer.cpp
index ddd1213f07..81170b99f3 100644
--- a/src/corelib/kernel/qtimer.cpp
+++ b/src/corelib/kernel/qtimer.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2022 The Qt Company Ltd.
** Copyright (C) 2016 Intel Corporation.
** Contact: https://www.qt.io/licensing/
**
@@ -60,7 +60,6 @@ public:
int id = INV_TIMER;
Q_OBJECT_COMPAT_PROPERTY_WITH_ARGS(QTimerPrivate, int, inter, &QTimerPrivate::setInterval, 0)
Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS(QTimerPrivate, bool, single, false)
- bool nulltimer = false;
Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS(QTimerPrivate, Qt::TimerType, type, Qt::CoarseTimer)
Q_OBJECT_COMPUTED_PROPERTY(QTimerPrivate, bool, isActiveData,
&QTimerPrivate::isActiveActualCalculation)
@@ -239,7 +238,6 @@ void QTimer::start()
Q_D(QTimer);
if (d->id != INV_TIMER) // stop running timer
stop();
- d->nulltimer = (!d->inter && d->single);
d->id = QObject::startTimer(d->inter, d->type);
d->isActiveData.notify();
}