@ -30,8 +30,8 @@ Main::Main(QWidget *parent) :
readSettings();
refresh();
m_refresh.reset(new QTimer(this));
m_refresh = new QTimer(this);
connect(m_refresh.get(), SIGNAL(timeout()), SLOT(refresh()));
connect(m_refresh, SIGNAL(timeout()), SLOT(refresh()));
m_refresh->start(1000);
#if ETH_DEBUG
@ -58,7 +58,7 @@ private:
QByteArray m_peers;
QMutex m_guiLock;
std::unique_ptr<QTimer> m_refresh;
QTimer* m_refresh;
QStringList m_servers;
QVector<eth::KeyPair> m_myKeys;
QStringList m_data;