Merge pull request #1888 from cg2121/fix-rec-time-left-bug

UI: Fix issue where rec time left would show negative time
master
Jim 2019-05-21 03:45:36 -07:00 committed by GitHub
commit 40a206326b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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());