mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-13 08:44:29 -04:00
UI: Fix issue where rec time left would show negative time
The recording time left timer was being called an unnecessary time, in the stats constructor, when it should have only been started when the recording starts.
This commit is contained in:
@@ -176,7 +176,6 @@ OBSBasicStats::OBSBasicStats(QWidget *parent, bool closeable)
|
||||
QObject::connect(&recTimeLeft, &QTimer::timeout, this,
|
||||
&OBSBasicStats::RecordingTimeLeft);
|
||||
recTimeLeft.setInterval(REC_TIME_LEFT_INTERVAL);
|
||||
recTimeLeft.start();
|
||||
|
||||
OBSBasic *main = reinterpret_cast<OBSBasic*>(App()->GetMainWindow());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user