Remove excessive usage of pointer

This commit is contained in:
Chocobo1
2019-03-11 01:00:47 +08:00
parent a3019f56b0
commit 874bc84efc
2 changed files with 13 additions and 22 deletions

View File

@@ -29,11 +29,10 @@
#ifndef FILELOGGER_H
#define FILELOGGER_H
#include <QFile>
#include <QObject>
#include <QTimer>
class QFile;
namespace Log
{
struct Msg;
@@ -71,7 +70,7 @@ private:
QString m_path;
bool m_backup;
int m_maxSize;
QFile *m_logFile;
QFile m_logFile;
QTimer m_flusher;
};