return back stream lock which will be disabled from qml by the timer. In

other case there is possibe plasma crash
This commit is contained in:
arcan1s
2015-09-26 03:23:10 +03:00
parent ab2a444c84
commit 92ce241742
6 changed files with 50 additions and 32 deletions

View File

@ -33,7 +33,7 @@ class AWDataAggregator : public QObject
Q_OBJECT
public:
explicit AWDataAggregator(QObject *parent = nullptr, QThreadPool *pThreadPool = nullptr);
explicit AWDataAggregator(QObject *parent = nullptr);
virtual ~AWDataAggregator();
QList<float> getData(const QString key) const;
QString htmlImage(const QPixmap source) const;
@ -70,7 +70,6 @@ private:
QHash<QString, QList<float>> data;
bool m_enablePopup = false;
QStringList requiredKeys;
QThreadPool *threadPool = nullptr;
};