mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 22:36:57 +02:00
CR feedback
This commit is contained in:
parent
ae6022c498
commit
4cb693315f
2 changed files with 3 additions and 4 deletions
|
@ -23,7 +23,6 @@ RunningMarker::RunningMarker(QObject* parent, QString name) :
|
||||||
_parent(parent),
|
_parent(parent),
|
||||||
_name(name)
|
_name(name)
|
||||||
{
|
{
|
||||||
qDebug() << __FUNCTION__ << "parent:" << parent << "name:" << name;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RunningMarker::startRunningMarker() {
|
void RunningMarker::startRunningMarker() {
|
||||||
|
@ -40,7 +39,6 @@ void RunningMarker::startRunningMarker() {
|
||||||
QObject::connect(_runningMarkerTimer, &QTimer::timeout, [=](){
|
QObject::connect(_runningMarkerTimer, &QTimer::timeout, [=](){
|
||||||
writeRunningMarkerFiler();
|
writeRunningMarkerFiler();
|
||||||
});
|
});
|
||||||
//QObject::connect(_runningMarkerThread, &QThread::finished, _runningMarkerTimer, &QObject::deleteLater);
|
|
||||||
_runningMarkerTimer->start(RUNNING_STATE_CHECK_IN_MSECS);
|
_runningMarkerTimer->start(RUNNING_STATE_CHECK_IN_MSECS);
|
||||||
|
|
||||||
// put the time on the thread
|
// put the time on the thread
|
||||||
|
|
|
@ -14,8 +14,9 @@
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QThread>
|
|
||||||
#include <QTimer>
|
class QThread;
|
||||||
|
class QTimer;
|
||||||
|
|
||||||
class RunningMarker {
|
class RunningMarker {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue