major change: Add security support & Adjust GUI
Change-Id: I7abef37169dec1ef4b68e760dee5214c147c1915
diff --git a/src/digesttreescene.cpp b/src/digesttreescene.cpp
index d692d4e..c2aa865 100644
--- a/src/digesttreescene.cpp
+++ b/src/digesttreescene.cpp
@@ -25,10 +25,8 @@
//DisplayUserPtr DisplayUserNullPtr;
-DigestTreeScene::DigestTreeScene(ndn::shared_ptr<boost::asio::io_service> ioService,
- QWidget *parent)
+DigestTreeScene::DigestTreeScene(QWidget *parent)
: QGraphicsScene(parent)
- , m_scheduler(*ioService)
{
previouslyUpdatedUser = DisplayUserNullPtr;
}
@@ -60,7 +58,7 @@
if (rePlot)
{
plot(digest);
- m_scheduler.scheduleEvent(ndn::time::milliseconds(600), ndn::bind(&DigestTreeScene::emitReplot, this));
+ QTimer::singleShot(2100, this, SLOT(emitReplot()));
}
else
{