v0.4.1
This commit is contained in:
@@ -11,6 +11,9 @@ Logger::Logger(QObject *parent, QString fileName) : QObject(parent) {
|
||||
}
|
||||
|
||||
void Logger::write(const QString &value) {
|
||||
if (!file)
|
||||
return;
|
||||
|
||||
QString text = value;// + "";
|
||||
text = QDateTime::currentDateTime().toString("dd.MM.yyyy hh:mm:ss ") + text;
|
||||
QTextStream out(file);
|
||||
|
||||
@@ -11,7 +11,7 @@ public:
|
||||
~Logger();
|
||||
|
||||
private:
|
||||
QFile *file;
|
||||
QFile *file = nullptr;
|
||||
bool m_showDate;
|
||||
|
||||
signals:
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define APP_VERSION "0.4.0"
|
||||
#define APP_VERSION "0.4.1"
|
||||
|
||||
Reference in New Issue
Block a user