• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision0a7ed88b64edf8e6011e539ee556a12134642c8c (tree)
Time2013-01-31 23:42:13
Authoralucky4416 <alucky4416@user...>
Commiteralucky4416

Log Message

BUG: logthread stop flag initilize missing.

Change Summary

Incremental Difference

--- a/logthread.cpp
+++ b/logthread.cpp
@@ -5,11 +5,15 @@
55 #include <QTextStream>
66
77 #include <QDateTime>
8+
9+#include <QMessageBox>
810 #include <QDebug>
911
1012 LogThread::LogThread(QObject *parent) :
1113 QThread(parent)
1214 {
15+ stopped = false;
16+
1317 logging = false;
1418 logsavefolderpath = ""; // log save folder
1519 logfilepath = ""; // log file path
@@ -60,7 +64,7 @@ void LogThread::LogData(quint64 timestamp, double tmpr, double humid)
6064 void LogThread::run()
6165 {
6266
63- // qDebug() << "logTh is started.";
67+ qDebug() << "logTh is started.";
6468 EventData event;
6569 QFile csvfile;
6670 QTextStream out;
@@ -149,5 +153,5 @@ void LogThread::run()
149153 csvfile.close();
150154 }
151155
152- // qDebug() << "logTh is stopped.";
156+ qDebug() << "logTh is stopped.";
153157 }