start moving core frameworks to external libraries
This commit is contained in:
@@ -20,14 +20,15 @@
|
||||
|
||||
#include "elapsedcounterwidget.h"
|
||||
|
||||
#include <olive/core/core.h>
|
||||
#include <QDateTime>
|
||||
#include <QHBoxLayout>
|
||||
#include <cmath>
|
||||
|
||||
#include "common/timecodefunctions.h"
|
||||
|
||||
namespace olive {
|
||||
|
||||
using namespace core;
|
||||
|
||||
ElapsedCounterWidget::ElapsedCounterWidget(QWidget* parent) :
|
||||
QWidget(parent),
|
||||
last_progress_(0),
|
||||
@@ -87,8 +88,8 @@ void ElapsedCounterWidget::UpdateTimers()
|
||||
remaining_ms = 0;
|
||||
}
|
||||
|
||||
elapsed_lbl_->setText(tr("Elapsed: %1").arg(Timecode::TimeToString(elapsed_ms)));
|
||||
remaining_lbl_->setText(tr("Remaining: %1").arg(Timecode::TimeToString(remaining_ms)));
|
||||
elapsed_lbl_->setText(tr("Elapsed: %1").arg(QString::fromStdString(Timecode::time_to_string(elapsed_ms))));
|
||||
remaining_lbl_->setText(tr("Remaining: %1").arg(QString::fromStdString(Timecode::time_to_string(remaining_ms))));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <QDateTime>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "common/timecodefunctions.h"
|
||||
#include "ui/icons/icons.h"
|
||||
|
||||
namespace olive {
|
||||
|
||||
Reference in New Issue
Block a user